I am creating a small client <-> server app and when I connect to my server "telnet localhost 500" my recive code will only allow the client to enter 1 character before closing the receive connection. Any ideas why?
Byte[] bRecive = new byte[1024];
int i = mySocket.Receive(bRecive, bRecive.Length, 0);
text = Encoding.ASCII.GetString(bRecive);
Thanks

New Topic/Question
Reply


MultiQuote



|