sockets related functionalities on Fedora Linux

Markku Kolkka markkuk at tuubi.net
Fri Oct 6 11:36:41 UTC 2006


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 at iki.fi




More information about the fedora-list mailing list