[ECOS] server_test.c and SO_REUSE*
Jonathan Larmour
jlarmour@redhat.com
Thu Aug 2 13:29:00 GMT 2001
"Trenton D. Adams" wrote:
>
> I found something in server_test.c that I think is wrong. It doesn't
> affect the functionality of the actual test.
[snip]
> If the two socket options aren't set before the bind, they have no
> affect, and you cannot reuse the port or address if you want to.
>
> Since the listening socket is never closed, it doesn't affect the actual
> test.
>
> Is this correct? My program wouldn't work without the setsockopt ()
> calls before bind.
Yes, that's right, I'll "fix" the test.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
More information about the Ecos-discuss
mailing list