Functions
socket.h File Reference

Transactional wrappers for interfaces of <sys/socket.h>. More...

#include "picotm/config/picotm-libc-config.h"
#include "picotm/compiler.h"
#include <sys/socket.h>

Functions

PICOTM_NOTHROW int accept_tx (int socket, struct sockaddr *address, socklen_t *address_len)
 
PICOTM_NOTHROW int bind_tx (int socket, const struct sockaddr *address, socklen_t address_len)
 
PICOTM_NOTHROW int connect_tx (int socket, const struct sockaddr *address, socklen_t address_len)
 
PICOTM_NOTHROW int listen_tx (int socket, int backlog)
 
PICOTM_NOTHROW ssize_t recv_tx (int socket, void *buffer, size_t length, int flags)
 
PICOTM_NOTHROW ssize_t send_tx (int socket, const void *buffer, size_t length, int flags)
 
PICOTM_NOTHROW int shutdown_tx (int socket, int how)
 
PICOTM_NOTHROW int socket_tx (int domain, int type, int protocol)