#include <ArmLwipNetconnUdpTransport.h>
◆ Type
◆ NetconnUdpTransport()
| NetconnUdpTransport::NetconnUdpTransport |
( |
| ) |
|
|
inline |
◆ ~NetconnUdpTransport()
| NetconnUdpTransport::~NetconnUdpTransport |
( |
| ) |
|
|
inline |
◆ Close()
| void NetconnUdpTransport::Close |
( |
| ) |
|
|
inline |
Clean up the netconn resources.
◆ Create()
| int NetconnUdpTransport::Create |
( |
Type | type, |
|
|
const char * | addr, |
|
|
uint16_t | port ) |
|
inline |
Initialize the Netconn UDP connection
- Parameters
-
| type | PUB or SUB |
| addr | Target IP string (e.g. "192.168.1.50") for PUB; Ignored for SUB. |
| port | Local port to bind (SUB) or Remote port to target (PUB). |
- Returns
- 0 on success, -1 on failure
◆ Receive()
Receive data from a remote
- Parameters
-
| [out] | is | The received incoming data bytes, not including the header. |
| [out] | header | Incoming delegate message header. |
- Returns
- 0 if success.
Implements ITransport.
◆ Send()
Send data to a remote
- Parameters
-
| [in] | os | Output stream to send. |
| [in] | header | The header to send. |
- Returns
- 0 if success.
Implements ITransport.
◆ SetRecvTransport()
| void NetconnUdpTransport::SetRecvTransport |
( |
ITransport * | transport | ) |
|
|
inline |
◆ SetSendTransport()
| void NetconnUdpTransport::SetSendTransport |
( |
ITransport * | transport | ) |
|
|
inline |
◆ SetTransportMonitor()
The documentation for this class was generated from the following file: