Functions
socket-tm.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_tm (int socket, struct sockaddr *address, socklen_t *address_len)
 
PICOTM_NOTHROW int bind_tm (int socket, const struct sockaddr *address, socklen_t address_len)
 
PICOTM_NOTHROW int connect_tm (int socket, const struct sockaddr *address, socklen_t address_len)
 
PICOTM_NOTHROW ssize_t recv_tm (int socket, void *buffer, size_t length, int flags)
 
PICOTM_NOTHROW ssize_t send_tm (int socket, const void *buffer, size_t length, int flags)