| Home | Libraries | People | FAQ | More

##### ip::basic_endpoint::port (1 of 2 overloads)

Get the port associated with the endpoint. The port number is always in the host's byte order.

    unsigned short port() const;

| Copyright © 2003-2015 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)