Please reread question
Right but I did not ask anything about what causes the OnSocketConnect Completed event to fire. Please reread the question, I asked "what causes the completed' event in the OnSocketConnect Completed method to fire"
Obviously I am trying to understand how to adjust the incoming buffer to match the incoming data. Please explain the issue if you can. Could you possibly consider...
User Profile
Collapse
-
Socket Programming - Receive Buffer Length
The code below works fine. As of now I just set the buffer length real big and all is good. However, I hate the impreciseness of that.
So my question in general is how do I know what length to set the buffer? In specific, my question is what causes the 'completed' event in the OnSocketConnect Completed method to fire? Does it fire at end of a packet or does happen at some end of data marker?
...Code:public SocketClient(Page
Last edited by Frinavale; Nov 25 '09, 04:09 PM. Reason: Please post code in [code] ... [/code] tags. Added code tags.
No activity results to display
Show More
Leave a comment: