i have a tcp listener on my server application on my desktop, and a tcp client on my mobile with windows ce.
i can connect to the server from mobile, but it hanging on:
while ((bytes = _stream.Read(data, 0, data.Length)) != 0)
what do i wrong?
public void GetAnswer(string Request, ref string Response)
Log("Request: " + Request);
Byte data = System.Text.Encoding.ASCII.GetBytes(Request);
_stream.Write(data, 0, data.Length);
Int32 bytes = default(Int32);
string Incoming = "";
Response = "";
while (client.Client.Connected && Response == "")
while ((bytes = _stream.Rea
View Complete Post