#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <stdarg.h>
#include <netdb.h>
#include <fcntl.h>
#include <unistd.h>
#include <poll.h>
#include <arpa/inet.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/stat.h>
#include "qDecoder.h"
#include "qInternal.h"
Go to the source code of this file.
Defines | |
#define | MAX_SAVEINTOFILE_CHUNK_SIZE |
#define | MAX_SENDFILE_CHUNK_SIZE |
FunctionsTitleTestFour | |
bool | qSocketClose (int sockfd) |
ssize_t | qSocketGets (char *str, int sockfd, size_t nbytes, int timeoutms) |
int | qSocketOpen (const char *hostname, int port) |
ssize_t | qSocketPrintf (int sockfd, const char *format,...) |
ssize_t | qSocketPuts (int sockfd, const char *str) |
ssize_t | qSocketRead (void *binary, int sockfd, size_t nbytes, int timeoutms) |
off_t | qSocketSaveIntoFile (int fd, int sockfd, off_t nbytes, int timeoutms) |
ssize_t | qSocketSaveIntoMemory (char *mem, int sockfd, size_t nbytes, int timeoutms) |
off_t | qSocketSendfile (int sockfd, int fd, off_t offset, off_t nbytes) |
int | qSocketWaitReadable (int sockfd, int timeoutms) |
int | qSocketWaitWritable (int sockfd, int timeoutms) |
ssize_t | qSocketWrite (int sockfd, const void *binary, size_t nbytes) |
Definition in file qSocket.c.