hostId | Host id associated with this connection. |
connectionId | The connection id of the connection you want to close. |
error | Error (can be casted to NetworkError for more information). |
Send a disconnect signal to the connected peer and close the connection. Poll NetworkTransport.Receive() to be notified that the connection is closed. This signal is only sent once (best effort delivery). If this packet is dropped for some reason, the peer closes the connection by timeout.