#include <string>
#include "common.h"
#include <poll.h>
#include <sys/poll.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <unistd.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
Go to the source code of this file.
|
ROSCPP_DECL void | ros::add_socket_to_watcher (int epfd, int fd) |
|
void | ros::close_signal_pair (signal_fd_t signal_pair[2]) |
|
ROSCPP_DECL int | ros::close_socket (socket_fd_t &socket) |
| Close the socket. More...
|
|
ROSCPP_DECL void | ros::close_socket_watcher (int fd) |
|
ROSCPP_DECL int | ros::create_signal_pair (signal_fd_t signal_pair[2]) |
|
ROSCPP_DECL int | ros::create_socket_watcher () |
|
ROSCPP_DECL void | ros::del_socket_from_watcher (int epfd, int fd) |
|
ROSCPP_DECL int | ros::last_socket_error () |
|
ROSCPP_DECL bool | ros::last_socket_error_is_would_block () |
|
ROSCPP_DECL const char * | ros::last_socket_error_string () |
|
ROSCPP_DECL pollfd_vector_ptr | ros::poll_sockets (int epfd, socket_pollfd *fds, nfds_t nfds, int timeout) |
| A cross platform polling function for sockets. More...
|
|
ssize_t | ros::read_signal (const signal_fd_t &signal, void *buffer, const size_t &nbyte) |
|
ROSCPP_DECL void | ros::set_events_on_socket (int epfd, int fd, int events) |
|
ROSCPP_DECL int | ros::set_non_blocking (socket_fd_t &socket) |
|
ssize_t | ros::write_signal (const signal_fd_t &signal, const void *buffer, const size_t &nbyte) |
|
◆ ROS_INVALID_SOCKET
#define ROS_INVALID_SOCKET ((int) -1) |
Definition at line 107 of file io.h.
◆ ROS_SOCKETS_ASYNCHRONOUS_CONNECT_RETURN
#define ROS_SOCKETS_ASYNCHRONOUS_CONNECT_RETURN EINPROGRESS |
Definition at line 108 of file io.h.
◆ ROS_SOCKETS_SHUT_RDWR
#define ROS_SOCKETS_SHUT_RDWR SHUT_RDWR /* Used by ::shutdown() */ |
Definition at line 106 of file io.h.
roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:27