Click to See Complete Forum and Search --> : Robust socket application


thalton
August 27th, 2009, 04:25 PM
Hi,

I have written a socket application transferring data from the server to client. My problem is that it is not robust enough. It fails about 20 percent of the time. Do anybody have any suggestions to have I can make a socket application more robust. My application is based on the techniques used in 'Beej's Guide to Network Programming'.

What is an acceptable failure rate?

I would greatly appreciate any help on this.

mikoil
August 28th, 2009, 01:30 AM
You don't say much by saying "robust" or giving a name of a book, at least to me.

I'd suggest some, but first you gonna have to be more clear;
What protocol is it (UDP/TCP/.......)?
On what system (Windows, Linux.....)?
Define "fails".