Typ : C.int;
Protocol : C.int) return C.int;
- function C_Strerror
- (Errnum : C.int) return C.Strings.chars_ptr;
-
function C_System
(Command : System.Address) return C.int;
function WSAStartup
- (WS_Version : Interfaces.C.int;
+ (WS_Version : Interfaces.C.unsigned_short;
WSADataAddress : System.Address) return Interfaces.C.int;
-------------------------------------------------------
pragma Import (Stdcall, C_Setsockopt, "setsockopt");
pragma Import (Stdcall, C_Shutdown, "shutdown");
pragma Import (Stdcall, C_Socket, "socket");
- pragma Import (C, C_Strerror, "strerror");
pragma Import (C, C_System, "_system");
pragma Import (Stdcall, Socket_Errno, "WSAGetLastError");
pragma Import (Stdcall, Set_Socket_Errno, "WSASetLastError");