#include <textual/parser_bits.h>
#include <errno.h>
-#ifdef __WIN32__
+/*#ifdef __WIN32__
#include <ws2tcpip.h>
#endif
#ifdef __UNIX__
+*/
#include <arpa/inet.h>
#include <sys/socket.h>
-#endif
+//#endif
using namespace basis;
using namespace loggers;
: ethread(SOCKET_CHECK_INTERVAL, ethread::SLACK_INTERVAL),
_parent(parent)
{
- start(NIL);
+ start(NULL_POINTER);
}
~socket_minder_prompter() {
_pending_sox(new int_set),
_prompter(new socket_minder_prompter(*this))
{
- _prompter->start(NIL);
+ _prompter->start(NULL_POINTER);
}
socket_minder::~socket_minder()
return _socket_list->borrow(i);
// this is a failure to get here; there was no suitable socket.
_lock->unlock();
- return NIL;
+ return NULL_POINTER;
}
void socket_minder::unlock_socket_data(socket_data *to_unlock)
{
if (!to_unlock) return;
-//can't affect it now. to_unlock = NIL;
+//can't affect it now. to_unlock = NULL_POINTER;
_lock->unlock();
}