mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-24 06:08:39 +01:00
new constuctor
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <netdb.h>
|
||||
#include <string>
|
||||
namespace sls {
|
||||
|
||||
class DataSocket {
|
||||
@@ -29,4 +30,6 @@ class DataSocket {
|
||||
int ConvertHostnameToInternetAddress(const char *const hostname, struct ::addrinfo **res);
|
||||
int ConvertInternetAddresstoIpString(struct ::addrinfo *res, char *ip, const int ipsize);
|
||||
|
||||
struct ::sockaddr_in ConvertHostnameToInternetAddress(const std::string &hostname);
|
||||
|
||||
}; // namespace sls
|
||||
|
||||
Reference in New Issue
Block a user