Blank UDP demo application showing UDP functions and how applications might use them.
Definition in file udp_demo.c.
Go to the source code of this file.
Defines | |
#define | UDP_DEMO_PORT 5000 |
#define | UDP_DEMO_RMTHOST_IP 0xAC100101 |
#define | UDP_DEMO_RMTHOST_PRT 5001 |
Variables | |
UINT8 | udp_demo_soch |
Socket handle holder for this application. | |
UINT8 | udp_demo_senddata |
|
Port number on which we'll work Definition at line 99 of file udp_demo.c. |
|
Remote IP address this application will send data to Definition at line 101 of file udp_demo.c. |
|
Port number on remote server we'll send data to Definition at line 103 of file udp_demo.c. |
|
This variable holds the assigned socket handle. Note that this application will reserve one UDP socket immediately and will not release it. For saving resources, UDP sockets can also be allocated/deallocated dynamically. Definition at line 95 of file udp_demo.c. |
|
Used to trigger data sending Definition at line 97 of file udp_demo.c. |