Archived

This topic is now archived and is closed to further replies.

Shannon Barber

linux socket ioctl info

Recommended Posts

Shannon Barber    1681
Does anyone how a good place for examples of using the various socket ioctl calls? It took me forever to peice together how to use SIOCGIFADDR (what structure to pass to it, what fields are important). And now I want to use SIOCDELRT, SIOCADDRT, & SIOCRTMSG.

Share this post


Link to post
Share on other sites
SiCrane    11839
I believe "Unix Network Programming Volume 1" by W. Richard Stevens lists all the structures and the basics of how to use every ioctl call.

Share this post


Link to post
Share on other sites