By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,281 Members | 2,216 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,281 IT Pros & Developers. It's quick & easy.

Regarding Multithreading Client Socket Failure

P: 2
Hi All,

My Application is developed using C on linux. It is a multithreaded application and 10 threads are waiting for message in pool.Each thread receives message continusly in a while loop from an another module using msg queue and process the message, creates an URL,opens socket and invokes http request to a another application which has been developed in .NET and receives the 2000k response from the .NET application too and closing the socket.Its working fine but the problem occurs when my application (C and linux) receives a certion numbers ( perticular 1020) of message. After receiving 1020 numbers of messages and processing them without giving any error,it gives error "could not open socket" at the receiption of 1021st message and so on.

Please suggest me regarding the above problem ASAP.

Any kind of suggestion will be appriciate.

Thanks in advance

Jul 19 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.