|
-
Jul 30th, 2009, 11:02 AM
#1
Thread Starter
New Member
Receiving Data from NetworkStream
Hello,
I am curious if there is a way to receive data from a socket in the chunks as it was sent. For instance, in my client program if I send something like:
"VERSION=1.0"
then I send:
"NAME=MyName"
When I receive it from the server I get: "VERSION=1.0NAME=MyName". Instead of receiveing it seperately.
What is the proper way to handle, using a delimiter? But what if the data being sent is large than my blocksize, and it misses some data? This has been boggling my mind trying to figure out a good way to do this.
Thanks in advance!
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
|