Server.HandleConnection Field
Namespace: Riptide
Assembly: RiptideNetworking.dll
An optional method which determines whether or not to accept a client's connection attempt.
public Server.ConnectionAttemptHandler HandleConnection
Returns
Server.ConnectionAttemptHandlerRemarks
The Connection parameter is the pending connection and the Message parameter is a message containing any additional data the client included with the connection attempt. If you choose to subscribe a method to this delegate, you should use it to call either Accept(Connection) or Reject(Connection, Message). Not doing so will result in the connection hanging until the client times out.