[Asterisk-Dev] [patch] ast_ouraddrfor replacement using netlink

Karl Brose khb at brose.com
Wed Dec 1 02:09:20 MST 2004


Another question:

What's the magic about the read loop and recvfrom?
Doesn't a single recv() do the whole job?
Seemed to do it for me.

Also, why write() and not send(),  send is meant for sockets.

Seems all traceroutes I have, even for linux, have findsaddr-linux that 
use the /proc/net code.
Was this actually in released code?

Does anyone have a comprehensive manual for the netlink stuff?





More information about the asterisk-dev mailing list