Server.Bind Method
Namespace: Rebex.Net.Servers.Core
Assembly: Rebex.FileServer.dll (version 7.0.9313)
Bind(ServerModule)
Binds the specified module to its default port on all network interfaces.
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.
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.
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.  |