#include <arpa/inet.h>#include <cerrno>#include <cstdint>#include <cstdio>#include <fcntl.h>#include <netinet/in.h>#include <sys/socket.h>#include <sys/types.h>#include <unistd.h>#include "osefTypes.h"#include "tlvCommon.h"#include "tcpStream.h"
Go to the source code of this file.
Functions | |
| void | close_socket (int &socket_fd) |
| void | emptySocket (int socket_fd, int bytes_remaining) |
| void | open_socket (int &socket_fd) |
| int | readSocket (int socket_fd, uint8_t *buffer, const size_t buffer_size, int &frame_write_index) |
| void close_socket | ( | int & | socket_fd | ) |
Definition at line 39 of file tcpStream.cpp.
| void emptySocket | ( | int | socket_fd, |
| int | bytes_remaining | ||
| ) |
Definition at line 51 of file tcpStream.cpp.
| void open_socket | ( | int & | socket_fd | ) |
Definition at line 20 of file tcpStream.cpp.
| int readSocket | ( | int | socket_fd, |
| uint8_t * | buffer, | ||
| const size_t | buffer_size, | ||
| int & | frame_write_index | ||
| ) |
Definition at line 65 of file tcpStream.cpp.