4extern volatile Sjmp_buf gNetTimeoutJmp;
15 if (
SSetjmp(gNetTimeoutJmp) != 0) {
23 alarm((
unsigned int) tlen);
40#if defined(WIN32) || defined(_WINDOWS)
65 if (fcntl(sfd, F_GETFL, &opt) < 0) {
68 }
else if (fcntl(sfd, F_SETFL, opt |
O_NONBLOCK) < 0) {
81#
if defined(
WIN32) || defined(_WINDOWS)
95#if defined(WIN32) || defined(_WINDOWS)
128#if defined(WIN32) || defined(_WINDOWS)
131 soerrsize =
sizeof(soerr);
133 if ((
result >= 0) && (soerr != 0)) {
150#if defined(WIN32) || defined(_WINDOWS)
170 optlen =
sizeof(optval);
187 if (fcntl(sfd, F_SETFL, opt) < 0) {
int SConnect(int sfd, const struct sockaddr_in *const addr, int tlen)
VOID WSAAPI WSASetLastError(IN INT iError)
INT WSAAPI select(IN INT s, IN OUT LPFD_SET readfds, IN OUT LPFD_SET writefds, IN OUT LPFD_SET exceptfds, IN CONST struct timeval *timeout)
INT WSAAPI send(IN SOCKET s, IN CONST CHAR FAR *buf, IN INT len, IN INT flags)
GLenum const GLvoid * addr
#define SELECT_TYPE_ARG234
volatile sio_sigproc_t vsio_sigproc_t
void(*)(int) SSignal(int signum, void(*handler)(int))
void(* sio_sigproc_t)(int)
INT WSAAPI getsockopt(IN SOCKET s, IN INT level, IN INT optname, OUT CHAR FAR *optval, IN OUT INT FAR *optlen)
INT WSAAPI shutdown(IN SOCKET s, IN INT how)
#define FD_ISSET(fd, set)
int PASCAL FAR WSAGetLastError(void)