Removed unnecessary lines from threadpsx
Renamed GSOCK_TRYAGAIN to GSOCK_WOULDBLOCK Added GSOCK_TIMEOUT Enabled the replacement code for timeout handling in gsocket.c Renamed some var in gsockunx & gsocket git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
|
||||
#if wxUSE_SOCKETS
|
||||
|
||||
#include <stddef.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
#if !defined(__cplusplus)
|
||||
@@ -49,7 +50,8 @@ typedef enum {
|
||||
GSOCK_INVSOCK,
|
||||
GSOCK_NOHOST,
|
||||
GSOCK_INVPORT,
|
||||
GSOCK_TRYAGAIN,
|
||||
GSOCK_WOULDBLOCK,
|
||||
GSOCK_TIMEOUT,
|
||||
GSOCK_MEMERR
|
||||
} GSocketError;
|
||||
|
||||
|
Reference in New Issue
Block a user