Re: Send large block of data failed
From: zhimin (xiaozhimin1978_at_163.com)
Date: 02/22/04
- Next message: The real Andy: "Re: MSComm32.ocx licenses error"
- Previous message: polarz: "Datagrid crashes program, when input data is too large"
- In reply to: Sami Vaaraniemi: "Re: Send large block of data failed"
- Next in thread: Sami Vaaraniemi: "Re: Send large block of data failed"
- Reply: Sami Vaaraniemi: "Re: Send large block of data failed"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 22 Feb 2004 16:58:37 +0800
Thank you for your help.
I had debug my program, the error should be description as the following:
As the program described, in the request and response cycle, the client send
a byte(which value is zero) to the server to indicate this session will send
a file stream. The server recieve this byte flag, if this byte is equals to
zero, receive data, else close this session. Some of the first sessions are
fine, but after a while, the client send a byte flag which value is zero to
the server, while the server recived it and the value is not zero! The
server then close the tcpclient, and the client throw an exception. And more
large the block is, the error will occured more early.
- Next message: The real Andy: "Re: MSComm32.ocx licenses error"
- Previous message: polarz: "Datagrid crashes program, when input data is too large"
- In reply to: Sami Vaaraniemi: "Re: Send large block of data failed"
- Next in thread: Sami Vaaraniemi: "Re: Send large block of data failed"
- Reply: Sami Vaaraniemi: "Re: Send large block of data failed"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|