4 #include <netinet/in.h>
13 Socket(
const std::string& IPAddress,
unsigned int port = 0);
16 virtual void initialize(
17 unsigned int socketReceiveBufferSize = defaultSocketReceiveSize_);
18 const struct sockaddr_in& getSocketAddress(
void);
19 const std::string& getIPAddress() {
return IPAddress_; }
21 bool isInitialized() {
return isInitialized_; }
26 maxSocketSize_ = 65536,
27 defaultSocketReceiveSize_ = 0x10000
31 struct sockaddr_in socketAddress_;
38 FirstSocketPort = 10000,
39 LastSocketPort = 15000
41 std::string IPAddress_;
42 unsigned int requestedPort_;
43 bool isInitialized_ =
false;
Socket(void)
protected constructor
defines used also by OtsConfigurationWizardSupervisor