Sponge
CS144's user-space TCP library
|
#include "address.hh"
#include "file_descriptor.hh"
#include <cstdint>
#include <functional>
#include <string>
#include <sys/socket.h>
Go to the source code of this file.
Classes | |
class | LocalStreamSocket |
A wrapper around Unix-domain stream sockets. More... | |
struct | UDPSocket::received_datagram |
Returned by UDPSocket::recv; carries received data and information about the sender. More... | |
class | Socket |
Base class for network sockets (TCP, UDP, etc.) More... | |
class | TCPSocket |
A wrapper around TCP sockets. More... | |
class | UDPSocket |
A wrapper around UDP sockets. More... | |
struct UDPSocket::received_datagram |
Returned by UDPSocket::recv; carries received data and information about the sender.
Class Members | ||
---|---|---|
string | payload | UDP datagram payload. |
Address | source_address | Address from which this datagram was received. |