This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
listen (x, 0) on new TCP incoming connections doesn't stop select()/accept()
FWIW, as far as I can tell, and not fully understanding the internals of
listen():
It appears that attempting to stop accepting incoming TCP connections by
setting listen (x, backlog=0) (after an initial listen (x, >0) if it's
relevant) doesn't stop incoming TCP SYN connection requests from being
ACK'd and appearing in select() and accept(). Thought that should have.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss