Changeset 474
- Timestamp:
- 09/06/07 21:38:26 (13 months ago)
- Location:
- trunk/thune
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/thune/urlan.c
r472 r474 574 574 575 575 #ifdef UR_CONFIG_NET 576 #ifdef _WIN32 577 { 578 WORD wsver; 579 WSADATA wsdata; 580 wsver = MAKEWORD( 2, 2 ); 581 WSAStartup( wsver, &wsdata ); 582 } 583 #endif 576 584 ur_registerPortDevice( env, "socket", &_netPortDevice, "fd addr" ); 577 585 #endif … … 754 762 } 755 763 764 #ifdef UR_CONFIG_NET 765 #ifdef _WIN32 766 WSACleanup(); 767 #endif 768 #endif 769 756 770 #ifdef GLOBAL_STORE 757 771 _freeResources( env, &env->resources.arr ); -
trunk/thune/wait.c
r473 r474 152 152 if( n == SOCKET_ERROR ) 153 153 { 154 ur_throwErr( UR_ERR_INTERNAL, "select - % x\n", WSAGetLastError() );154 ur_throwErr( UR_ERR_INTERNAL, "select - %d\n", WSAGetLastError() ); 155 155 } 156 156 #else
