This data structure is part of the P2P Interface.
P2P Socket ID
The Socket ID contains an application-defined name for the connection between a local person and another peer.
When a remote user receives a connection request from you, they will receive this information. It can be important
to only accept connections with a known socket-name and/or from a known user, to prevent leaking of private
information, such as a user's IP address. Using the socket name as a secret key can help prevent such leaks. Shared
private data, like a private match's Session ID are good candidates for a socket name.
Properties
EOS_P2P_SocketId
Property
|
Value
|
int32_t ApiVersion
|
API Version: Set this to EOS_P2P_SOCKETID_API_LATEST.
|
This data structure is part of the P2P Interface.
P2P Socket ID
The Socket ID contains an application-defined name for the connection between a local person and another peer.
When a remote user receives a connection request from you, they will receive this information. It can be important
to only accept connections with a known socket-name and/or from a known user, to prevent leaking of private
information, such as a user's IP address. Using the socket name as a secret key can help prevent such leaks. Shared
private data, like a private match's Session ID are good candidates for a socket name.
Properties
P2P.SocketId
Property
|
Value
|
int ApiVersion
|
API Version: Set this to EOS_P2P_SOCKETID_API_LATEST.
|
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