SGDK
A free and open development kit for the Sega Mega Drive
|
Payload with remote IP and port. More...
#include <mw-msg.h>
Public Attributes | |
uint32_t | remote_ip |
IP of the remote end. | |
uint16_t | remote_port |
char | payload [MW_CMD_MAX_BUFLEN - 4 - 2] |
Data payload. |
Payload with remote IP and port.
Data sent/received using UDP sockets, uses this special format when reuse flag has been set in the mw_udp_set() call. This allows the program using the UDP socket, to filter incoming IPs, and to be able to properly answer to incoming packets from several peers.
uint16_t mw_reuse_payload::remote_port |
Port of the remote end