This function is part of the P2P Interface.
Send a packet to a peer at the specified address. If there is already an open connection to this peer, it will be sent immediately. If there is no open connection, an attempt to connect to the peer will be made. An EOS_Success result only means the data was accepted to be sent, not that it has been successfully delivered to the peer.
EOS_EResult::EOS_Success - If packet was queued to be sent successfully
EOS_EResult::EOS_InvalidParameters - If input was invalid
EOS_EResult::EOS_LimitExceeded - If amount of data being sent is too large, or the outgoing packet queue was full
EOS_EResult::EOS_NoConnection - If bDisableAutoAcceptConnection was set to EOS_TRUE and the connection was not currently accepted (call EOS_P2P_AcceptConnection first, or set bDisableAutoAcceptConnection to EOS_FALSE)
|Parameter Type And Name||Usage Information|
|const EOS_P2P_SendPacketOptions* Options||Information about the data being sent, by who, to who|