RE: socket problems

1998-09-24 Thread mab
Ross, Thanks a lot - you were correct about what was happening. Your comments were very helpful. Mark On Fri, 25 Sep 1998, Ross Mark wrote: > When programming sockets for TCP it's > important that you never assume that writes and > reads will send or receive everything in one go. > Java

RE: socket problems

1998-09-24 Thread Ross Mark
When programming sockets for TCP it's important that you never assume that writes and reads will send or receive everything in one go. Java seem to take care of the writes but in most other languages like C and Perl you have to handle partial writes yourself within a loop. Client reads return t