Provides basic cross-platform socket networking, with support for both blocking and non-blocking sending and receiving. More...
#include "Types.h"#include "Errors.h"#include "File.h"#include "RStr.h"#include "Data1D.h"#include "APtr.h"#include <string.h>#include <winsock2.h>#include <ws2tcpip.h>#include <sys/types.h>Go to the source code of this file.
Classes | |
| class | RC::Sock |
| A portable socket interface for reading and writing to an open socket. More... | |
| class | RC::Net |
| Provides both client and server sides of blocking TCP connections. More... | |
| class | RC::Net::Listener |
| Listens to the specified port for incoming TCP connections. More... | |
Namespaces | |
| RC | |
Macros | |
| #define | RC_SockType SOCKET |
| The standard socket type used in socket calls for a given system. | |
| #define | RC_InvSock INVALID_SOCKET |
| The value returned for an invalid socket. | |
| #define | RC_SockErr SOCKET_ERROR |
| The value returned for a socket error. | |
| #define | RC_CloseSock closesocket |
| The function for manually closing sockets. | |
| #define | RC_WouldBlock WSAEWOULDBLOCK |
| The return value for a socket call which would block. | |
| #define | RC_SockErrorAt WSAGetLastError() |
| The variable or function call for obtaining the last error. | |
| #define | RC_SockReturn int |
| The return type for send and recv calls. | |
Provides basic cross-platform socket networking, with support for both blocking and non-blocking sending and receiving.
1.9.1