Reading from socket
Posted
by user363638
on Stack Overflow
See other posts from Stack Overflow
or by user363638
Published on 2010-06-10T16:06:51Z
Indexed on
2010/06/10
16:12 UTC
Read the original article
Hit count: 117
I have data from socket, which is header and message. Header if of 5 bytes, 3rd and 4th is message length.
I am reading from socket, can someone suggest me good function, it will return me msg. assuming that i am reading 1024 bytes and it may happen that i have recived only partial data.
© Stack Overflow or respective owner