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

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

Syntax

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

Parameters

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

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also