[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: sockets related functionalities on Fedora Linux



Abid Ghufran kirjoitti viestissään (lähetysaika perjantai, 6. 
lokakuuta 2006 10:55):
> I am working on a networking application using socket and C
> programming. I need a functionality to manipulate routing
> table and for that I need SYSCTL API (it is part of socket
> interface). Now, the problem is that I cannot find the
> relevant library.

sysctl() is specific to the *BSD family of Unixes (AFAIK). It's 
not part of the Single Unix Specification/POSIX or Linux. Linux 
has _sysctl() and the command line sysctl program, but their 
usage is different.

> Is there any way I could add these libraries? For this do I
> have to recompile the kernel?

You have to switch from Linux to *BSD.

-- 
 Markku Kolkka
 markku kolkka iki fi


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]