Hi ,
I got the above for this test environment : Wi-Fi.
In Wi_Fi, I am using Mobile phone to send a file to another PC.
Use TcpClient in Mobile phone with NetCF 2.0
NetworkStream nws = tcpClient.GetStream();
FileStream fs;
fs = new FileStream(filename, FileMode.Open, FileAccess.Read);
byte[] bytesToSend = new byte[fs.Length];
int numBytesRead = fs.Read(bytesToSend, 0, bytesToSend.Length);
nws.Write(bytesToSend, 0, numBytesRead);
------- On PC >
I receive partial data and later with the above Msg.
Can some1 help me how to solve this issue? Why this is happening?
Thanks