|
-
Nov 12th, 2010, 12:23 AM
#10
Re: [VB2008/.NET 3.5] Asynchronous TcpListener & TcpClient
um... also i am using:
Data = System.Text.Encoding.ASCII.GetString(System.Text.Encoding.Unicode.GetBytes(e.message))
to convert the MessageReceived Response to ascii... but if the data is split across one send on the client (sent in vb script with windsock) the Data has some rubbish chrs at the end and the first received message and the 2nd received message has some rubbish chrs at the begining of data.
Is it possible to talk more natively in ascii rather than having to convert from unicode?
Thanks
Kris
Last edited by i00; Nov 12th, 2010 at 12:36 AM.
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
|