This project is read-only.

TCPClient comm error

Sep 4, 2013 at 11:03 AM
I have a single-thread tcpclent app which works well, and I tried to switch to prophecy.
for my app, I will send two bytes and receive 655360 bytes, but now I can only receive 1496 bytes which is one block for the tcpclient, the rest of 65536(defined in prophecy) are 00.
I checked and it seems that the beginread() throws an error and stops the callback ( I tried the option to use or not to use buffer), any ideas?
or anybody provide samples how to use tcpclient? at least read more than 1496 bytes...