mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-17 07:17:13 +02:00
starting to add new Socket interface
This commit is contained in:
17
slsSupportLib/include/ClientSocket.h
Normal file
17
slsSupportLib/include/ClientSocket.h
Normal file
@ -0,0 +1,17 @@
|
||||
#pragma once
|
||||
#include "DataSocket.h"
|
||||
#include <sys/socket.h>
|
||||
#include <sys/types.h>
|
||||
#include <netdb.h>
|
||||
#include <string>
|
||||
|
||||
namespace sls{
|
||||
|
||||
class ClientSocket: public DataSocket{
|
||||
public:
|
||||
ClientSocket(const std::string& hostname, uint16_t port_number);
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
}; //namespace sls
|
Reference in New Issue
Block a user