Mentalis.org Security Library documentation

SecureTcpListener.Server Property

Gets the underlying SecureSocket.

[Visual Basic]
Protected ReadOnly Property Server As SecureSocket
[C#]
protected SecureSocket Server {get;}

Property Value

An instance of the SecureSocket class that provides the underlying network socket.

Remarks

SecureTcpListener creates a SecureSocket to listen for incoming client connection requests. Classes deriving from SecureTcpListener can use this property to get this Socket. Use the underlying SecureSocket returned by the Server property if you require access beyond that which SecureTcpListener provides.
Note Server only returns the SecureSocket used to listen for incoming client connection requests. Use the AcceptSocket method to accept a pending connection request and obtain a SecureSocket for sending and receiving data. You can also use the AcceptTcpClient method to accept a pending connection request and obtain a SecureTcpClient for sending and receiving data.

See Also

SecureTcpListener Class | SecureTcpListener Members | Org.Mentalis.Security.Ssl Namespace