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_; }
25 maxSocketSize_ = 65536,
26 defaultSocketReceiveSize_ = 0x10000
30 struct sockaddr_in socketAddress_;
37 FirstSocketPort = 10000,
38 LastSocketPort = 15000
40 std::string IPAddress_;
41 unsigned int requestedPort_;
Socket(void)
protected constructor