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.
Return Value
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
Parameters
EOS_P2P_SendPacket
Parameter Type And Name
|
Usage Information
|
EOS_HP2P Handle
|
|
const EOS_P2P_SendPacketOptions* Options
|
Information about the data being sent, by who, to who
|
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.
Return Value
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
Parameters
P2P.P2PInterface.SendPacket
Parameter Type And Name
|
Usage Information
|
SendPacketOptions options
|
Information about the data being sent, by who, to who
|
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no