#include <socket.hpp>
|
| Socket () |
|
bool | open (int domain, int type, int protocol) |
|
bool | isOpen () const |
|
bool | setBlocking (const bool blocking) |
|
bool | setReusable (const bool reusable) |
|
bool | bind (const unsigned short port) |
|
bool | connect (const Address &addr) |
|
bool | disconnect () |
|
bool | close () |
|
ssize_t | recv (void *const buffer, const size_t length, int flags=0) |
|
ssize_t | recvfrom (void *const buffer, const size_t length, Address &address, int flags=0) |
|
ssize_t | send (const void *const buffer, const size_t length, int flags=0) |
|
ssize_t | sendto (const void *const buffer, const size_t length, const Address &dest, int flags=0) |
|
socket_fd_t | fd () const |
|
◆ Socket()
◆ bind()
bool Socket::bind |
( |
const unsigned short |
port | ) |
|
◆ close()
◆ connect()
bool Socket::connect |
( |
const Address & |
addr | ) |
|
◆ disconnect()
bool Socket::disconnect |
( |
| ) |
|
◆ fd()
◆ isOpen()
bool Socket::isOpen |
( |
| ) |
const |
◆ open()
bool Socket::open |
( |
int |
domain, |
|
|
int |
type, |
|
|
int |
protocol |
|
) |
| |
◆ recv()
ssize_t Socket::recv |
( |
void *const |
buffer, |
|
|
const size_t |
length, |
|
|
int |
flags = 0 |
|
) |
| |
◆ recvfrom()
ssize_t Socket::recvfrom |
( |
void *const |
buffer, |
|
|
const size_t |
length, |
|
|
Address & |
address, |
|
|
int |
flags = 0 |
|
) |
| |
◆ send()
ssize_t Socket::send |
( |
const void *const |
buffer, |
|
|
const size_t |
length, |
|
|
int |
flags = 0 |
|
) |
| |
◆ sendto()
ssize_t Socket::sendto |
( |
const void *const |
buffer, |
|
|
const size_t |
length, |
|
|
const Address & |
dest, |
|
|
int |
flags = 0 |
|
) |
| |
◆ setBlocking()
bool Socket::setBlocking |
( |
const bool |
blocking | ) |
|
◆ setReusable()
bool Socket::setReusable |
( |
const bool |
reusable | ) |
|
◆ tcp()
◆ udp()
The documentation for this class was generated from the following file:
- ~/libwallaby/module/network/public/kipr/network/socket.hpp