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

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

Inheritance diagram for ExitGames.Net.Sockets.SocketAcceptEventArgs:

Public Member Functions

 SocketAcceptEventArgs (EndPoint remoteEndpoint)
 Initializes a new instance of the SocketAcceptEventArgs class. More...
 
 SocketAcceptEventArgs (EndPoint remoteEndpoint, bool cancel)
 Initializes a new instance of the SocketAcceptEventArgs class with the CancelEventArgs.Cancel property set to the given value. More...
 

Properties

EndPoint RemoteEndpoint [get]
 Gets the remote end point. More...
 

Detailed Description

The socket accept event args. Used by the PgmReceiver.

Constructor & Destructor Documentation

ExitGames.Net.Sockets.SocketAcceptEventArgs.SocketAcceptEventArgs ( EndPoint  remoteEndpoint)
inline

Initializes a new instance of the SocketAcceptEventArgs class.

Parameters
remoteEndpointThe remote endpoint.
ExitGames.Net.Sockets.SocketAcceptEventArgs.SocketAcceptEventArgs ( EndPoint  remoteEndpoint,
bool  cancel 
)
inline

Initializes a new instance of the SocketAcceptEventArgs class with the CancelEventArgs.Cancel property set to the given value.

Parameters
remoteEndpointThe remote endpoint.
cancelTrue to cancel the event; otherwise, false.

Property Documentation

EndPoint ExitGames.Net.Sockets.SocketAcceptEventArgs.RemoteEndpoint
get

Gets the remote end point.

The EndPoint with which the Socket is communicating.