[ale] RE: listen()

cfowler cfowler at outpostsentinel.com
Wed Feb 19 13:26:31 EST 2003


I have deleted my emails but a few weeks ago someone mentioned that I
should do an accept() instead of listen() -> accept() to get only one
connection. I tried that.

>From accept(2);

The argument s is a socket that has been created with socket(2), bound
to a local address  with  bind(2), and is listening for connections
after a listen(2).

Maybe this trick works in BSD but not in Linux.  accept() gave me an
immediate error.




_______________________________________________
Ale mailing list
Ale at ale.org
http://www.ale.org/mailman/listinfo/ale






More information about the Ale mailing list