[ECOS] listen (x, 0) on new TCP incoming connections doesn't stop select()/accept()

Tad ecos_removethispart@ds3switch.com
Tue Jun 12 16:08:00 GMT 2007


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



More information about the Ecos-discuss mailing list