A setsockopt() with SO_REUSEADDR before you attempt to bind() to the
well-known port number for your server.
The works of W. Richard Stevens and/or Stallings re network
programming would probably be good things to have handy on the shelf.
rick jones
--
Wisdom Teeth are impacted, people are affected by the effects of events.
these opinions are mine, all mine; HP might not want them anyway...

feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...