|
-
Aug 10th, 2011, 11:03 AM
#3
Thread Starter
Frenzied Member
Re: Socket Programming
Thanks its now waiting for an input however there is the next problem on that block of code. Its only receiving one byte.
For instance if I am connected to the socket via telnet and I paste in the telnet:
IDONTLIKETHIS
Then my code is:
netStream = clientSocket.GetStream()
netStream.Read(BytesFrom, 0, BytesFrom.Length)
DataFromClient = System.Text.Encoding.ASCII.GetString(BytesFrom, 0, BytesFrom.Length)
MessageBox.Show(DataFromClient)
I get a messagebox saying: I
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|