projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new fortune
[feisty_meow.git]
/
octopi
/
library
/
sockets
/
raw_socket.h
diff --git
a/octopi/library/sockets/raw_socket.h
b/octopi/library/sockets/raw_socket.h
index de98b310ad802248da06a5b4705474f5dfe55a0b..44314eebaf4fded9677b4856b45a03f6fdf3a707 100644
(file)
--- a/
octopi/library/sockets/raw_socket.h
+++ b/
octopi/library/sockets/raw_socket.h
@@
-61,9
+61,6
@@
public:
DEFINE_CLASS_NAME("raw_socket");
DEFINE_CLASS_NAME("raw_socket");
-// int open(
-//hmmm...
-
int close(basis::un_int &socket);
// disconnects, destroys and resets the "socket" to zero.
int close(basis::un_int &socket);
// disconnects, destroys and resets the "socket" to zero.
@@
-151,6
+148,7
@@
private:
//////////////
//////////////
+/* wow, an ancient screw-up, leaving these in here after they were abstracted to tcpip_definitions.h; yargh.
#ifdef __UNIX__
// provide some unifying definitions.
#define INVALID_SOCKET -1
#ifdef __UNIX__
// provide some unifying definitions.
#define INVALID_SOCKET -1
@@
-265,6
+263,7
@@
private:
#define SOCK_TRY_AGAIN WSATRY_AGAIN
#define SOCK_VERNOTSUPPORTED WSAVERNOTSUPPORTED
#endif //win32.
#define SOCK_TRY_AGAIN WSATRY_AGAIN
#define SOCK_VERNOTSUPPORTED WSAVERNOTSUPPORTED
#endif //win32.
+*/
//////////////
//////////////