|
wavelength 1.0.0
|
Datagrams over a raw IP connection. More...
#include <rawip.h>
Static Public Member Functions | |
| static int | Receive (int cid, unsigned short *port, sceInetAddress *address, bool *received, const char *name) |
| Receive datagrams until one of the module's echo replies arrives, an error occurs, or nothing is waiting. | |
| static int | Send (int cid, unsigned short port, const sceInetAddress *address, bool *sent, const char *name) |
| Send one datagram as an echo request. | |
Datagrams over a raw IP connection.
Each one is an ICMP echo whose identifier marks it as the module's and whose sequence number is the port of the datagram. The header is all a datagram transfers.
The module was built without RTTI. The name is inferred from the module's routines.
|
static |
Receive datagrams until one of the module's echo replies arrives, an error occurs, or nothing is waiting.
| cid | Connection identifier. |
| port | Receives the port of the datagram. |
| address | Receives the sender address. |
| received | Set when a datagram arrived. |
| name | Protocol name for messages. |
|
static |
Send one datagram as an echo request.
| cid | Connection identifier. |
| port | Port of the datagram. |
| address | Destination address. |
| sent | Set when the datagram was sent. |
| name | Protocol name for messages. |