]> git.tdb.fi Git - libs/net.git/blob - source/net/serversocket.cpp
Implement an asynchronous name resolver class
[libs/net.git] / source / net / serversocket.cpp
1 #include "serversocket.h"
2
3 using namespace std;
4
5 namespace Msp {
6 namespace Net {
7
8 ServerSocket::ServerSocket(Family af, int type, int proto):
9         Socket(af, type, proto)
10 { }
11
12 unsigned ServerSocket::do_write(const char *, unsigned)
13 {
14         throw logic_error("can't write to ServerSocket");
15 }
16
17 unsigned ServerSocket::do_read(char *, unsigned)
18 {
19         throw logic_error("can't read from ServerSocket");
20 }
21
22 } // namespace Net
23 } // namespace Msp