Class ConnectionAcceptedEventArgs
The event arguments for when connections are accepted.
Inherited Members
Namespace: Swan.Net
Syntax
public class ConnectionAcceptedEventArgs : EventArgs
Constructors
ConnectionAcceptedEventArgs(TcpClient)
Initializes a new instance of the ConnectionAcceptedEventArgs class.
Declaration
public ConnectionAcceptedEventArgs(TcpClient client)
Parameters
Type | Name | Description |
---|---|---|
TcpClient | client | The client. |
Exceptions
Type | Condition |
---|---|
ArgumentNullException | client. |
Properties
Client
Gets the client.
Declaration
public TcpClient Client { get; }
Property Value
Type | Description |
---|---|
TcpClient | The client. |