#include <USocket.hpp>
Definition at line 151 of file USocket.hpp.
◆ ~USocket()
| virtual USocket::~USocket |
( |
| ) |
|
|
virtualdefault |
◆ receive()
| virtual std::tuple<std::unique_ptr<Packet>, int> USocket::receive |
( |
| ) |
|
|
pure virtual |
Receive a packet from a client.
- Returns
- a tuple with the packet and the size of the packet
Implemented in ServerSocket, and ClientSocket.
◆ run()
| virtual void USocket::run |
( |
| ) |
|
|
pure virtual |
◆ send()
| virtual void USocket::send |
( |
Packet * |
packet, |
|
|
struct sockaddr_in |
dest |
|
) |
| |
|
pure virtual |
◆ sendPacket()
| virtual void USocket::sendPacket |
( |
SplitPacket * |
packet, |
|
|
struct sockaddr_in |
dest |
|
) |
| |
|
pure virtual |
◆ splitAndSend()
| virtual void USocket::splitAndSend |
( |
Packet * |
packet, |
|
|
struct sockaddr_in |
dest |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: