simple-socket library
1.9.0
Loading...
Searching...
No Matches
SocketUtils.h
Go to the documentation of this file.
1
#ifndef NET_SocketUtils_h__
2
#define NET_SocketUtils_h__
3
4
#include <cstdint>
5
#include <string>
6
7
namespace
NET
8
{
16
std::string
resolveHostname
(
const
std::string& hostname);
17
27
uint16_t
resolveService
(
const
std::string& service,
const
std::string& protocol =
"tcp"
);
28
}
29
#endif
// NET_SocketUtils_h__
NET
Definition
CANRawSocket.h:7
NET::resolveService
uint16_t resolveService(const std::string &service, const std::string &protocol="tcp")
NET::resolveHostname
std::string resolveHostname(const std::string &hostname)
include
simple_socket
SocketUtils.h
Generated by
1.16.1