This is socket.h in view mode; [Download] [Up]
#ifndef socket_h
#pragma once
#include <time.h>
extern "C"
{
#define KERNEL
#ifdef VMS
#include "GNU_CC_INCLUDE:[sys]socket.h"
#else
#include "//usr/include/bsd/sys/socket.h"
#endif
#undef KERNEL
#ifndef socket_h
#define socket_h 1
#endif
// void* in select, since different systems use int* or fd_set*
int select(int, void*, void*, void*, struct timeval*);
int connect(int, struct sockaddr*, int);
int accept(int, struct sockaddr*, int*);
int getsockname(int, struct sockaddr*, int*);
int getpeername(int, struct sockaddr*, int*); // 16 Oct 90 Talisman
}
#endif
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.