This means that the OS does not know which port number corresponds to the TCP service named "http".
unix- , /etc/services http 80/tcp, Linux, .
, "" :
tcp::endpoint connectionEndpoint(endpoint_iterator->address(), 80);
boost::system::error_code ec;
socket.connect(connectionEndpoint, ec);