EOS_P2P_CloseConnection

EOS API reference page for EOS_P2P_CloseConnection

Choose your implementation method:

C

C#

This function is part of the P2P Interface.

Remarks

Stop accepting new connections from a specific peer and close any open connections.

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_CloseConnection

Parameter Type And Name

Usage Information

EOS_HP2P Handle

const EOS_P2P_CloseConnectionOptions* Options

Information about who would like to close a connection, and which connection.

Related API Members

This function is part of the P2P Interface.

Remarks

Stop accepting new connections from a specific peer and close any open connections. {Result}::{Result.InvalidParameters} - if the provided data is invalid

Return Value

{Result}::{Result.Success} - if the provided data is valid

Parameters

P2P.P2PInterface.CloseConnection

Parameter Type And Name

Usage Information

CloseConnectionOptions options

Information about who would like to close a connection, and which connection.

Related API Members

Tags