C# Class OTAPI.Callbacks.Terraria.Netplay

Mostra file Open project: DeathCradle/Open-Terraria-API

Public Methods

Method Description
OnConnectionAccepted ( ISocket client ) : bool

Private Methods

Method Description
ServerSocketCreate ( ) : global::Terraria.Net.Sockets.ISocket

This method replaces the "new TcpSocket" call in server loop, allowing custom server socket implementations.

Method Details

OnConnectionAccepted() public static method

public static OnConnectionAccepted ( ISocket client ) : bool
client ISocket
return bool