cnet

Bind method of cnet::Socket

The Bind methods binds the socket for the specific address

Syntax

bool Bind(
    const Address& address
);

Parameters

address

The address to bind to

Return value

true on success false on failure