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

Server.BindAsync Method

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

BindAsync(IPEndPoint, ServerModule)

Asynchronously binds the specified module to the specified endpoint.

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.

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.

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