Socket::close() now supports an additional parameter for defining the shutdown type
Fork of Socket by
Diff: Socket.cpp
- Revision:
- 5:300e7ad2dc1d
- Parent:
- 3:e6474399e057
- Child:
- 6:cd2e5559786d
diff -r 75988d748e4d -r 300e7ad2dc1d Socket.cpp --- a/Socket.cpp Thu Jul 26 10:07:43 2012 +0000 +++ b/Socket.cpp Thu Jul 26 15:07:32 2012 +0000 @@ -24,7 +24,7 @@ } -int Socket::init(int type) { +int Socket::init_socket(int type) { if (_sock_fd != -1) return -1;