equal
deleted
inserted
replaced
133 protocol); |
133 protocol); |
134 |
134 |
135 return std::shared_ptr<SocketClass>(new SocketClass(remoteAddresses[0], moreArgs...)); |
135 return std::shared_ptr<SocketClass>(new SocketClass(remoteAddresses[0], moreArgs...)); |
136 } |
136 } |
137 |
137 |
|
138 /** |
|
139 * abstract class for sockets that use sendmsg() / recvmsg() |
|
140 */ |
138 class MSGSocket : public Socket { |
141 class MSGSocket : public Socket { |
139 protected: |
142 protected: |
140 FD socket; |
143 FD socket; |
141 |
144 |
142 void sendmsg(const std::string& message) { |
145 void sendmsg(const std::string& message) { |