Changeset 18:0490048f256d in xplcommon for src/xplcommon/posix/LocalServerSocket.cc
- Timestamp:
- 12/29/12 11:05:33 (12 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/xplcommon/posix/LocalServerSocket.cc
r14 r18 36 36 #include <pwd.h> 37 37 #include <unistd.h> 38 #include <poll.h> 38 39 39 40 #include <sys/socket.h> … … 87 88 //------------------------------------------------------------------------------ 88 89 90 bool LocalServerSocket::isReady() 91 { 92 return false; 93 } 94 95 //------------------------------------------------------------------------------ 96 97 void LocalServerSocket::handleEvents(short events) 98 { 99 if ((events&POLLIN)==POLLIN) { 100 acceptor.accept(); 101 } 102 } 103 104 //------------------------------------------------------------------------------ 105 89 106 // Local Variables: 90 107 // mode: C++
Note:
See TracChangeset
for help on using the changeset viewer.