git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3160
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
return TRUE;
}
void OnExit() {
- GSocket_Done();
+ GSocket_Cleanup();
}
};
#endif
#include <signal.h>
-//#include <features.h>
+/* #include <features.h> */
-#include <wx/setup.h>
-#include <wx/gsocket.h>
+#include "wx/setup.h"
+#include "wx/gsocket.h"
#include "gsockunx.h"
#ifndef SOCKLEN_T
{
}
-void GSocket_Done()
-{
-}
-
/* Constructors / Destructors */
GSocket *GSocket_new()
int _GSocket_Recv_Dgram(GSocket *socket, char *buffer, int size)
{
struct sockaddr from;
- int fromlen, ret;
+
+ SOCKLEN_T fromlen;
+ int ret;
fromlen = sizeof(from);
break;
#endif
default:
-
+ {
/* TODO error */
+ }
}
if (address->m_addr)