Date: Fri, 26 Jul 1996 15:47:38 -0400 From: Gary Chrysler <tcg@ime.net> To: FreeBSD-Questions <questions@freebsd.org> Subject: Coding network daemons for FreeBSD Message-ID: <31F920DA.76A7@ime.net>
next in thread | raw e-mail | index | archive | help
I geuss I'm going about this the wrong way?? I've written a little program (~200 lines) to help me get a big picture (understanding) on the connection between a NetWire and a daemon. In other words, A network daemon. IPX in this case. I've used IPXrouted as a guide, All it basically does is: Socket = socket(af, ... bind(Socket, ... setsockopt(Socket, ... FD_ZERO(&fdvar); FD_SET(Socket, &fdvar); select(nfds, &fdvar, ... if(FD_ISSET(Socket, &fdvar)) display_it_in_human_readable_form. :) It does as expected, Except if I have IPXrouted running then it fails at bind with: Address already in use. I know I'm probably way way off in left field and was wondering if some kind sole would kick me in the right direction. Thanks. -Enjoy Gary ~~~~~~~~~~~~~~~~ Improve America's Knowledge... Share yours The Borg... Where minds meet (207) 929-3848
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31F920DA.76A7>