From: Christian P. <cp...@us...> - 2005-01-07 13:39:11
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/Net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4490/include/pclasses/Net Modified Files: Socket.h Log Message: Added Socket::connect(). Index: Socket.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Net/Socket.h,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Socket.h 3 Jan 2005 13:50:44 -0000 1.3 +++ Socket.h 7 Jan 2005 13:39:03 -0000 1.4 @@ -67,6 +67,8 @@ //! Bind socket to given address and port void bind(const NetworkAddress& addr, port_t port) throw(IO::IOError); + void connect(const NetworkAddress& addr, port_t port) throw(IO::IOError); + void setSendTimeout(unsigned int timeout) throw(IO::IOError); unsigned int sendTimeout() const throw(IO::IOError); |