Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

FileServer.BindAsync Method

Namespace: Rebex.Net.Servers
Assembly: Rebex.FileServer.dll (version 8.0.9673)

BindAsync(FileServerProtocol)

Asynchronously binds the specified protocol to its default port on all network interfaces.

Declaration
public async Task BindAsync(FileServerProtocol module)
Parameters
Type Name Description
FileServerProtocol module

Module to bind.

Returns
Type Description
Task

A Task that represents an asynchronous Bind operation.

BindAsync(IPEndPoint, FileServerProtocol)

Binds the specified protocol to the specified endpoint.

Declaration
public async Task BindAsync(IPEndPoint endPoint, FileServerProtocol module)
Parameters
Type Name Description
IPEndPoint endPoint

Endpoint to which to bind the module.

FileServerProtocol module

Module to bind.

Returns
Type Description
Task

A Task that represents an asynchronous Bind operation.

BindAsync(Int32, FileServerProtocol)

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

Declaration
public async Task BindAsync(int port, FileServerProtocol module)
Parameters
Type Name Description
Int32 port

Port to which to bind the module.

FileServerProtocol module

Module to bind.

Returns
Type Description
Task

A Task that represents an asynchronous Bind operation.

BindAsync(IPEndPoint, ServerModule)

Asynchronously binds the specified module to the specified endpoint. Inherited from Server.

Declaration
public async Task BindAsync(IPEndPoint endPoint, ServerModule module)
Parameters
Type Name Description
IPEndPoint endPoint

Endpoint to which to bind the module.

ServerModule module

Module to bind.

Returns
Type Description
Task

A Task that represents an asynchronous Bind operation.

BindAsync(ServerModule)

Asynchronously binds the specified module to its default port on all network interfaces. Inherited from Server.

Declaration
public async Task BindAsync(ServerModule module)
Parameters
Type Name Description
ServerModule module

Module to bind.

Returns
Type Description
Task

A Task that represents an asynchronous Bind operation.

BindAsync(Int32, ServerModule)

Asynchronously binds the specified module to the specified port on all network interfaces. Inherited from Server.

Declaration
public async Task BindAsync(int port, ServerModule module)
Parameters
Type Name Description
Int32 port

Port to which to bind the module.

ServerModule module

Module to bind.

Returns
Type Description
Task

A Task that represents an asynchronous Bind operation.

In This Article
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies