FileServer.Bind Method
Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 7.0.9119)
Bind(FileServerProtocol)
Binds the specified protocol to its default port on all network interfaces.
Declaration
public void Bind(FileServerProtocol module)
Parameters
Type | Name | Description |
---|---|---|
FileServerProtocol | module | Module to bind. |
Bind(Int32, FileServerProtocol)
Binds the specified protocol to the specified port on all network interfaces.
Declaration
public void Bind(int port, FileServerProtocol module)
Parameters
Type | Name | Description |
---|---|---|
Int32 | port | Port to which to bind the module. |
FileServerProtocol | module | Module to bind. |
Bind(IPEndPoint, FileServerProtocol)
Binds the specified protocol to the specified endpoint.
Declaration
public void Bind(IPEndPoint endPoint, FileServerProtocol module)
Parameters
Type | Name | Description |
---|---|---|
IPEndPoint | endPoint | Endpoint to which to bind the module. |
FileServerProtocol | module | Module to bind. |
Bind(ServerModule)
Binds the specified module to its default port on all network interfaces. Inherited from Server.
Declaration
public void Bind(ServerModule module)
Parameters
Type | Name | Description |
---|---|---|
ServerModule | module | Module to bind. |
Bind(Int32, ServerModule)
Binds the specified module to the specified port on all network interfaces. Inherited from Server.
Declaration
public void Bind(int port, ServerModule module)
Parameters
Type | Name | Description |
---|---|---|
Int32 | port | Port to which to bind the module. |
ServerModule | module | Module to bind. |
Bind(IPEndPoint, ServerModule)
Binds the specified module to the specified endpoint. Inherited from Server.
Declaration
public void Bind(IPEndPoint endPoint, ServerModule module)
Parameters
Type | Name | Description |
---|---|---|
IPEndPoint | endPoint | Endpoint to which to bind the module. |
ServerModule | module | Module to bind. |