EOS_P2P_AcceptConnection

EOS API reference page for EOS_P2P_AcceptConnection

実装方法を選んでください。

C

C#

This function is part of the [P2P Interface](Interfaces/P2P).

Remarks

Accept connections from a specific peer. If this peer has not attempted to connect yet, when they do, they will automatically be accepted.

Return Value

  • EOS_EResult::EOS_Success - if the provided data is valid

  • EOS_EResult::EOS_InvalidParameters - if the provided data is invalid

Parameters

EOS_P2P_AcceptConnection

Parameter Type And Name

Usage Information

EOS_HP2P Handle

const EOS_P2P_AcceptConnectionOptions* Options

Information about who would like to accept a connection, and which connection

Related API Members

This function is part of the [P2P Interface](Interfaces/P2P).

Remarks

Accept connections from a specific peer. If this peer has not attempted to connect yet, when they do, they will automatically be accepted.

Return Value

  • EOS_EResult::EOS_Success - if the provided data is valid

  • EOS_EResult::EOS_InvalidParameters - if the provided data is invalid

Parameters

P2P.P2PInterface.AcceptConnection

Parameter Type And Name

Usage Information

AcceptConnectionOptions options

Information about who would like to accept a connection, and which connection

Related API Members

タグ