Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - paoc

Pages: [1]
1
Great,

I will have a deeper look into that. But I'm afraid that it won't fit for me cause the client side is not written with the SFML lib...

2
Because I will receive commands that all start with the same header and the header start with a magic number. In the header I will have access to the size of the whole message I need.

If I can wait in order to take the whole message, I'll be sure that the new one will start with the magic number. It would have make it easier instead of having to copy everything and always look for the begining of the new message...

But thank you for your reply nicox11 :)

3
Hi everybody,

I'm new with TCP communication... Maybe it is a stupid question but I was wondering if there is a way of knowing the number of bytes in a socket without having to read it?
(I trying to understand how to do if I receive my message in not one but few packets...)

Hope my question is clear enough,
Thanks for you help! :)

Pages: [1]
anything