This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ports 25 and 110


On Mon, Oct 04, 2004 at 11:06:38AM -0400, Rick Davis wrote:
> Andrew,
> 
> 	Another thing I have seen. I have a thread that listens on a port,
> 11111. When I stop the thread, I close the port. The port scanner still
> indicates it responds even after the thread has shutdown the port and
> exited. I even waited 10 minutes before scanning.

Thats probably normal. TCP sockets are kept around for a while after
being closed so that any delayed retries etc are thrown away and not
passed to a new socket which is using the same port number. If you
leave it long enough it should go away, but i don't remember what the
timeout is.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]