#### basic_socket::bind

Bind the socket to the given local endpoint.

    void bind(
        const endpoint_type & endpoint);

    asio::error_code bind(
        const endpoint_type & endpoint,
        asio::error_code & ec);

| Copyright © 2003 - 2008 Christopher M. Kohlhoff Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)