rby1-sdk
Loading...
Searching...
No Matches
rb::UdpIPv4Client Class Reference
Inheritance diagram for rb::UdpIPv4Client:
rb::UdpClient

Classes

struct  server_addr_
 

Public Member Functions

 UdpIPv4Client (std::string ip, int port)
 
int RecvFrom (unsigned char *buffer, size_t max_buf_size) const override
 
void SendTo (unsigned char *buffer, size_t buf_size) const override
 

Protected Attributes

int fd_ {}
 
std::string ip_
 
int port_
 

Member Function Documentation

◆ RecvFrom()

int rb::UdpIPv4Client::RecvFrom ( unsigned char * buffer,
size_t max_buf_size ) const
inlineoverridevirtual

Implements rb::UdpClient.

◆ SendTo()

void rb::UdpIPv4Client::SendTo ( unsigned char * buffer,
size_t buf_size ) const
inlineoverridevirtual

Implements rb::UdpClient.


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