Skip to content

Basic handling & forwarding with TCP requests #1071

Closed Answered by rthalley
GamePlayer-8 asked this question in Q&A
Discussion options

You must be logged in to vote

Take a look at this source for an example of how to do it. TCP is a byte stream, so messages are encoded as a two byte length and then the message content. First you read the length then you read that many bytes to get the message.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by GamePlayer-8
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants