Releasing internet ports...

Jimmy Parrish parrish at edn-vax.arpa
Mon Apr 28 23:25:40 AEST 1986


What you want to do is use the setsockopt call with the parameter
SO_REUSEADDR as in setsockopt(s,SOL_SOCKET,SO_REUSEADDR,0,0); .
This allows you to bypass the timeout condition you are experiencing.

Jimmy Parrish



More information about the Comp.unix.wizards mailing list