Sets the peer to which packets will be sent.
The id can be one of: constantTARGET_PEER_BROADCAST to send to all connected peers, constantTARGET_PEER_SERVER to send to the peer acting as server, a valid peer ID to send to that specific peer, a negative peer ID to send to all peers except that one. By default, the target peer is constantTARGET_PEER_BROADCAST.
Sets the peer to which packets will be sent. The id can be one of: constant TARGET_PEER_BROADCAST to send to all connected peers, constant TARGET_PEER_SERVER to send to the peer acting as server, a valid peer ID to send to that specific peer, a negative peer ID to send to all peers except that one. By default, the target peer is constant TARGET_PEER_BROADCAST.