Select your preferred scripting language. All code snippets will be displayed in this language.
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
ClosehostId | Id of udp socket used to check for event. |
connectionId | Connection id for event. |
channelId | Channel id for data event. |
buffer | Prepared incoming buffer. |
bufferSize | Prepared buffer size. |
receivedSize | Actually received length. |
error | Possible error. |
Similar to Receive() but will ask only provided host. It for example allows to mix server/client in the same game.