TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

class SocketEndPoint in Tinman.Core.IO.Sockets

Represents a socket address for TCP/IP.

sealed class SocketEndPoint implements IEndPoint

Public / Attributes

Hostname

The hostname or IP address.

public property Hostname { get }
type string
value [not-null] The hostname or IP address.

PortNumber

The port number.

public property PortNumber { get }
type int32
value [0..65535] The port number.

Public / Constructors

SocketEndPoint

Creates a new instance of SocketEndPoint.

public constructor SocketEndPoint (string hostname, int32 portNumber)
params hostname [not-null] The hostname or IP address.
  portNumber [0..65535] The port number.

Public / Methods

CreateServer

Creates a new network server that listens on this endpoint.

[OwnerReturn]
public method CreateServer ()
type IServer
returns [not-null] The created network server.
implements IEndPoint.CreateServer

Exceptions:

OpenConnection

Opens a new network connection to this endpoint.

[OwnerReturn]
public method OpenConnection ()
type IConnection
returns The created network connection or null if the timeout has elapsed.
implements IEndPoint.OpenConnection

Exceptions:

ToString

[Pure]
public override method ToString ()
type string