[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ale] RE: listen()



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