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: TCP Transactions


On Mon, Oct 20, 2003 at 04:27:11PM -0700, Matt Jerdonek wrote:
> Hello again,
> 
> I'm developing an application that sends small
> transactions via TCP.  The basic flow is 1) Bring up
> the connection 2) Send request 3) Get response 4)
> Bring down the connection.  Simple enough ...
> 
> But, when running any volume of transactions, all my
> socket file descriptors get stuck in TIME_WAIT state. 
> When this occurs, my application is effectively
> disabled until a file descriptor times out.

Is this the client or the server end that has the problem?

Are you doing a setsocketopt() for SO_REUSEADDR?


    Andrew

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


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