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

This is the complete list of members for Socket, 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
register_read()FileDescriptorinlineprotected
register_write()FileDescriptorinlineprotected
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
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