Sponge
CS144's user-space TCP library
UDPSocket Member List

This is the complete list of members for UDPSocket, including all inherited members.

_internal_fdFileDescriptorprivate
bind(const Address &address)Socket
close()FileDescriptorinline
closed() constFileDescriptorinline
connect(const Address &address)Socket
duplicate() constFileDescriptor
eof() constFileDescriptorinline
fd_num() constFileDescriptorinline
FileDescriptor(std::shared_ptr< FDWrapper > other_shared_ptr)FileDescriptorexplicitprivate
FileDescriptor(const int fd)FileDescriptorexplicit
FileDescriptor(const FileDescriptor &other)=deleteFileDescriptor
FileDescriptor(FileDescriptor &&other)=defaultFileDescriptor
get_address(const std::string &name_of_function, const std::function< int(int, sockaddr *, socklen_t *)> &function) constSocketprivate
local_address() constSocket
operator=(const FileDescriptor &other)=deleteFileDescriptor
operator=(FileDescriptor &&other)=defaultFileDescriptor
peer_address() constSocket
read(const size_t limit=std::numeric_limits< size_t >::max())FileDescriptor
read(std::string &str, const size_t limit=std::numeric_limits< size_t >::max())FileDescriptor
read_count() constFileDescriptorinline
recv(const size_t mtu=65536)UDPSocket
recv(received_datagram &datagram, const size_t mtu=65536)UDPSocket
send(const BufferViewList &payload)UDPSocket
sendto(const Address &destination, const BufferViewList &payload)UDPSocket
set_blocking(const bool blocking_state)FileDescriptor
set_reuseaddr()Socket
setsockopt(const int level, const int option, const option_type &option_value)Socketprotected
shutdown(const int how)Socket
Socket(const int domain, const int type)Socketprotected
Socket(FileDescriptor &&fd, const int domain, const int type)Socketprotected
UDPSocket(FileDescriptor &&fd)UDPSocketinlineexplicitprotected
UDPSocket()UDPSocketinline
write(const char *str, const bool write_all=true)FileDescriptorinline
write(const std::string &str, const bool write_all=true)FileDescriptorinline
write(BufferViewList buffer, const bool write_all=true)FileDescriptor
write_count() constFileDescriptorinline
~FileDescriptor()=defaultFileDescriptor