Photon Server API
Public Member Functions | Properties | List of all members
ExitGames.Net.Sockets.SocketDisconnectEventArgs Class Reference

The socket disconnect event args. Used by the PgmReceiver. More...

Inheritance diagram for ExitGames.Net.Sockets.SocketDisconnectEventArgs:

Public Member Functions

 SocketDisconnectEventArgs (EndPoint endPoint, SocketError socketError)
 Initializes a new instance of the SocketDisconnectEventArgs class. More...
 

Properties

EndPoint RemoteEndPoint [get]
 Gets the remote endpoint. More...
 
SocketError SocketError [get]
 Gets the socket error. More...
 

Detailed Description

The socket disconnect event args. Used by the PgmReceiver.

Constructor & Destructor Documentation

ExitGames.Net.Sockets.SocketDisconnectEventArgs.SocketDisconnectEventArgs ( EndPoint  endPoint,
SocketError  socketError 
)
inline

Initializes a new instance of the SocketDisconnectEventArgs class.

Parameters
endPointThe end point.
socketErrorThe socket error.

Property Documentation

EndPoint ExitGames.Net.Sockets.SocketDisconnectEventArgs.RemoteEndPoint
get

Gets the remote endpoint.

The EndPoint from which the Socket disconnected.

SocketError ExitGames.Net.Sockets.SocketDisconnectEventArgs.SocketError
get

Gets the socket error.

The error that caused the disconnect.