Initializes a new instance of the Server class.

Namespace: Monnit.Mine
Assembly: MonnitMineAPI (in MonnitMineAPI.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public MineServer(
	eMineListenerProtocol protocol,
	IPAddress address,
	int port
)
Visual Basic
Public Sub New ( 
	protocol As eMineListenerProtocol,
	address As IPAddress,
	port As Integer
)
Visual C++
public:
MineServer(
	eMineListenerProtocol protocol, 
	IPAddress^ address, 
	int port
)
F#
new : 
        protocol : eMineListenerProtocol * 
        address : IPAddress * 
        port : int -> MineServer

Parameters

protocol
Type: Monnit.Mine..::..eMineListenerProtocol
Protocol server will accept data from.
address
Type: System.Net..::..IPAddress
IP address to bind socket(s) to.
port
Type: System..::..Int32
Port to bind socket(s) to.

See Also