Nol.A SDK Library  24.11.0
For IoT System Software Development
Classes | Public Member Functions | Static Public Member Functions | List of all members
UDP Class Reference

UDP. More...

#include <UDP.hpp>

Classes

struct  Header_t
 

Public Member Functions

error_t sendto (IPv6Interface *output, const IPv6Address *src_addr, uint16_t src_port, const IPv6Address *dst_addr, uint16_t dst_port, const void *user_data, uint16_t len)
 
error_t listen (uint16_t port, void(*func)(IPv6Interface &input, const IPv6Address *src_addr, const IPv6Address *dst_addr, uint16_t src_port, uint16_t dst_port, const uint8_t *msg, uint16_t len))
 
error_t listen (uint16_t port, UDPDatagramListener *listener)
 UDP 포트를 열고, 수신되는 UDP datagram들을 객체로 전달합니다. More...
 
error_t stopListening (uint16_t port)
 UDP 포트를 닫습니다. More...
 
uint16_t getUnusedRandomPort ()
 Get a random port number that is not listening.
 

Static Public Member Functions

static void receive (IPv6Interface &input, IPv6PacketBuffer *head, IPv6PacketBuffer *ippkt, IPv6PacketBuffer *udppkt)
 

Detailed Description

UDP.


The documentation for this class was generated from the following file: