Changeset 14:3caa1d3122db in xplcommon for src/xplcommon/posix/ClientSocket.h
- Timestamp:
- 12/29/12 10:03:12 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/xplcommon/posix/ClientSocket.h
r6 r14 37 37 38 38 namespace xplcommon { namespace posix { 39 40 //------------------------------------------------------------------------------ 41 42 class Connector; 39 43 40 44 //------------------------------------------------------------------------------ … … 84 88 virtual void handleEvents(short events); 85 89 90 /** 91 * Connect the socket to the given address. 92 * 93 * @return whether the connection succeeded or not. If it does not 94 * succeeded, it may be either because of the socket being 95 * non-blocking and some time is needed, or because of a failure, 96 * in which case the error code will be set properly. 97 */ 98 bool connect(const struct sockaddr* addr, size_t addrlen); 99 86 100 friend class Connector; 87 101 };
Note:
See TracChangeset
for help on using the changeset viewer.