#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netdb.h>
#include <unistd.h>
#include <arpa/inet.h>
#include "rtxsrc/osSysTypes.h"
#include "rtxsrc/rtxExternDefs.h"
Go to the source code of this file.
|
#define | OSRTSOCKET_INVALID ((OSRTSOCKET)-1) |
|
#define | OSIPADDR_ANY ((OSIPADDR)0) |
|
#define | OSIPADDR_LOCAL ((OSIPADDR)0x7f000001UL) /* 127.0.0.1 */ |
|
|
int | rtxSocketAccept (OSRTSOCKET socket, OSRTSOCKET *pNewSocket, OSIPADDR *destAddr, int *destPort) |
|
int | rtxSocketAddrToStr (OSIPADDR ipAddr, char *pbuf, size_t bufsize) |
|
int | rtxSocketBind (OSRTSOCKET socket, OSIPADDR addr, int port) |
|
int | rtxSocketClose (OSRTSOCKET socket) |
|
int | rtxSocketConnect (OSRTSOCKET socket, const char *host, int port) |
|
int | rtxSocketConnectTimed (OSRTSOCKET socket, const char *host, int port, int nsecs) |
|
int | rtxSocketCreate (OSRTSOCKET *psocket) |
|
int | rtxSocketCreateUDP (OSRTSOCKET *psocket) |
|
int | rtxSocketGetHost (const char *host, struct in_addr *inaddr) |
|
int | rtxSocketsInit (OSVOIDARG) |
|
int | rtxSocketListen (OSRTSOCKET socket, int maxConnection) |
|
int | rtxSocketParseURL (char *url, char **protocol, char **address, int *port) |
|
int | rtxSocketRecv (OSRTSOCKET socket, OSOCTET *pbuf, size_t bufsize) |
|
int | rtxSocketRecvTimed (OSRTSOCKET socket, OSOCTET *pbuf, size_t bufsize, OSUINT32 secs) |
|
int | rtxSocketSelect (int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout) |
|
int | rtxSocketSend (OSRTSOCKET socket, const OSOCTET *pdata, size_t size) |
|
int | rtxSocketSetBlocking (OSRTSOCKET socket, OSBOOL value) |
|
int | rtxSocketStrToAddr (const char *pIPAddrStr, OSIPADDR *pIPAddr) |
|
◆ OSRTSOCKET
Socket handle type definition