[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] RE: listen()
- Subject: [ale] RE: listen()
- From: cfowler at outpostsentinel.com (cfowler)
- Date: 19 Feb 2003 13:26:31 -0500
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