From: Christian P. <cp...@us...> - 2005-01-24 23:01:20
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/Net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4612/include/pclasses/Net Modified Files: Socket.h Log Message: Added Socket::listen(), Socket::accept(). Index: Socket.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Net/Socket.h,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Socket.h 7 Jan 2005 13:39:03 -0000 1.4 +++ Socket.h 24 Jan 2005 23:00:39 -0000 1.5 @@ -69,6 +69,9 @@ void connect(const NetworkAddress& addr, port_t port) throw(IO::IOError); + void listen() throw(IO::IOError); + Socket accept() throw(IO::IOError); + void setSendTimeout(unsigned int timeout) throw(IO::IOError); unsigned int sendTimeout() const throw(IO::IOError); @@ -87,7 +90,10 @@ protected: void open(Domain domain, Type type, int proto) - throw(LogicError, IO::IOError); + throw(IO::IOError); + + void open(int handle, Domain domain, Type type, int proto) + throw(IO::IOError); void _close() throw(IO::IOError); |