On 16-Mai-99   00:26:11, Alfonso Ranieri wrote:

> About route sockes:
> just a simple 
> s=socket(AF_ROUTE,IPPROTO_RAW,0);

> makes genesis (amitcp) chrash so so bad,

It doesn't crash here, just returns -1. To set a route, use either ioctl()
with SIOCADDRT or use a routing message with rt_msghdr (net/route.h).

If you need some more sources on how to do it, just ask.

-- 
David Gerber

____________________________________________________________
Genesis Mailing List - Info & Archive: http://www.vapor.com/
For Listserver Help: <[EMAIL PROTECTED]>, "HELP"
To Unsubscribe: <[EMAIL PROTECTED]>, "UNSUBSCRIBE"

Reply via email to