Set the "reuse address" socket option, between the socket() and the bind() calls. Then your program can always immediately restart. Sean -- *** Sean Casey <sean at s.ms.uky.edu> *** "Live the journey, for each destination is but a doorway to the next..."