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. |
connectionId | Id of connection. |
address | Ip4. |
port | Port. |
network | Relay network guid. |
error | Possible error. |
dstNode | Destination slot id. |
Return connection parameters of connected connection, this parameters can be sent to other user which can establish direct connection to this peer. If peer connected via Relay, Relay related parameters will be not invalid.