Click to See Complete Forum and Search --> : Multithreading problem


razia5
January 31st, 2003, 01:11 PM
Hi

I wrote a multithreaded server program for sending and receiving files from and to client but I am getting some strange exceptions.

Plz find attached the errors I am getting. Plz could someone help me in finding what's wrong in my program? Thanks

sdasatdvlp
February 1st, 2003, 07:29 AM
Hi,

The error list log is not clear..... but also I could smell something fishy with the socket connection.......

If possible please send the code for it.....
:)

razia5
February 1st, 2003, 01:33 PM
Hi

Plz attached find the codes I wrote. Thanks again.

I hope that you can tell me what's wrong with the socket connection.

KingTermite
February 2nd, 2003, 07:27 PM
We had a similar problem with a project at work once. I didn't do that part and am not that familiar with sockets, but I think it had something to do with the size of the data that is being sent must be a multiple of some pre-set OS packet size or something like that so we had to pad the buffer if it was less than that size.

I know that sounds a little vague, but I hope it can put you on the right track.