Dec 31, 2011 at 8:18 AM
Edited Dec 31, 2011 at 8:21 AM
I found the problem that server waiting endofline for comminication, but I dont set it. I added this $0D$0A end off the line and problem is solved.
Our comminication line ending is marked with two string char like "vs".
When the client connected i send it to one char "v" and client send me own serial number. So in the first comminication I couldnt use custom command.
when i get the serial number i send client to -> SendResponse("" + (char)0xFF + (char)0x02 + (char)0x4C + (char)0x0D);
and then client send me more string data.
So first off all i must change end of line dynamically.