Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more
UDP methods. More...
Functions | |
| WiconnectResult | udpConnect (WiconnectSocket &socket, const char *host, uint16_t remortPort, uint16_t localPort=SOCKET_ANY_PORT GPIO_IRQ_ARG_NC) |
| Connect to remote UDP server. | |
| WiconnectResult | udpListen (WiconnectUdpServer &udpServer, uint16_t listeningPort) |
| Start a UDP server listening on the given port. | |
Detailed Description
UDP methods.
Function Documentation
| WiconnectResult udpConnect | ( | WiconnectSocket & | socket, |
| const char * | host, | ||
| uint16_t | remortPort, | ||
| uint16_t | localPort = SOCKET_ANY_PORT GPIO_IRQ_ARG_NC |
||
| ) | [inherited] |
Connect to remote UDP server.
- Parameters:
-
[out] socket UDP WiconnectSocket object of opened connection. [in] host The host/IP address of the remote UDP server [in] remortPort The port of the remote server [in] localPort Optional, port of module's side of the connection [in] irqPin Optional, Data available external interrupt pin. See registerSocketIrqHandler() for more info
- Returns:
- Result of method. See WiconnectResult
| WiconnectResult udpListen | ( | WiconnectUdpServer & | udpServer, |
| uint16_t | listeningPort | ||
| ) | [inherited] |
Start a UDP server listening on the given port.
- Parameters:
-
[out] udpServer UDP WiconnectUdpServer object listening server [in] listeningPort The port the UDP server listens on
- Returns:
- Result of method. See WiconnectResult
Generated on Tue Jul 12 2022 17:35:59 by
1.7.2
AMW006-A02