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!

Nevermind. A bit further in the doc there is:

  • HandleBytes
  • HandleReader

Which are the functions I am most interested in.