| Home
| Calendar
| Mail Lists
| List Archives
| Desktop SIG
| Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings Linux Cafe | Meeting Notes | Linux Links | About BLU |
The TCP standard mandates that sockets stay in CLOSE_WAIT for about 2
minutes after close in order to avoid reusing that port and causing
confusion between packets from the old and new connection. If you
want to avoid this "feature", use something like this:
int i = 1;
if (setsockopt(s, SOL_SOCKET, SO_REUSEADDR, &i, sizeof(i)) < 0)
perror("setsockopt");
before you bind s.
jj
-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).