- Home /
How to receive message from NetworkConnection
Hi,
I'm trying to send some custom data over a NetworkConnection and going through Unity's doc I've stumble upon the fact there seems to be many different ways to sent information but nowhere it is explained how to receive that same information on the other end of the connection.
For all those functions listed in the doc, there does not seem to be a receive equivalent for any of them:
Send
SendByChannel
SendUnreliable
SendWriter
So I'd like to know how are you suppose to receive those network messages on the other end.
Thank you!
Answer by ifdef_ben · Jun 16, 2017 at 03:29 PM
Nevermind. A bit further in the doc there is:
HandleBytes
HandleReader
Which are the functions I am most interested in.
Your answer
Follow this Question
Related Questions
How to avoid spawn delay on client? 0 Answers
Unity WebSocket Client 2 Answers
UNet NetworkServer max connections 4 Answers
How to watch in client applications what it is happening in the server one? 0 Answers
Insert Wi-Fi settings in Unity APP 0 Answers