Re: Data corruption when using TCP sockets

2005-12-02 Thread madanagopal
- a 2.4.9 errata kernel was released on > the day that Red Hat 7.2 shipped. It is known buggy and superceeded by > many kernels with substantial bugfixes. > > -ben > > On Fri, Dec 02, 2005 at 05:05:28PM +0530, madanagopal wrote: > > hai, > >We hav

Data corruption when using TCP sockets

2005-12-02 Thread madanagopal
hai, We have a socket application in C which connects to a Java application through TCP sockets. We use read() system call to read from the socket. The Java application sends more than 2 bytes of data sometimes. In the C program, we read those bytes as Type,Length,Value fields where a se