On Sat, Aug 23, 2003 at 08:04:34PM -0400, Mark Mielke wrote:
> Use open(O_CREAT) to create the file, bind() to try to get exclusive
> access to it, and listen() to begin accepting connections.
> This behaviour should not be optional. This behaviour is how it should
> have been done all along.
> Just trying to be helpful... :-)
Of course, I made a mistake above. open(O_CREAT) doesn't create the
right sort of file. Either let bind() do it automatically, or use the
right mknod() call... :-)
mark
--
[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED] __________________________
. . _ ._ . . .__ . . ._. .__ . . . .__ | Neighbourhood Coder
|\/| |_| |_| |/ |_ |\/| | |_ | |/ |_ |
| | | | | \ | \ |__ . | | .|. |__ |__ | \ |__ | Ottawa, Ontario, Canada
One ring to rule them all, one ring to find them, one ring to bring them all
and in the darkness bind them...
http://mark.mielke.cc/
-------------------------------------------------------
This SF.net email is sponsored by: VM Ware
With VMware you can run multiple operating systems on a single machine.
WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines
at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users