Binds the specified module to the specified port on all network interfaces.

Namespace:  Rebex.Net.Servers.Core
Assembly:  Rebex.FileServer (in Rebex.FileServer.dll)

Syntax

Visual Basic
Public Sub Bind ( _
	port As Integer, _
	module As ServerModule _
)
C#
public void Bind(
	int port,
	ServerModule module
)

Parameters

port
Type: System..::..Int32
Port to which to bind the module.
module
Type: Rebex.Net.Servers.Core..::..ServerModule
Module to bind.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also