#include <phdk.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <netinet/tcp.h>
#include <netdb.h>
#include <unistd.h>
#include "tcp.h"
Go to the source code of this file.
void growl_tcp_close |
( |
SOCKET |
sock | ) |
|
int growl_tcp_datagram |
( |
const char * |
server, |
|
|
const unsigned char * |
data, |
|
|
const int |
data_length |
|
) |
| |
SOCKET growl_tcp_open |
( |
const char * |
server | ) |
|
Definition at line 83 of file tcp.c.
int growl_tcp_parse_hostname |
( |
const char *const |
server, |
|
|
int |
default_port, |
|
|
struct sockaddr_in *const |
sockaddr |
|
) |
| |
char* growl_tcp_read |
( |
SOCKET |
sock | ) |
|
Definition at line 55 of file tcp.c.
void growl_tcp_write |
( |
SOCKET |
sock, |
|
|
const char *const |
format, |
|
|
|
... |
|
) |
| |
Definition at line 26 of file tcp.c.
void growl_tcp_write_raw |
( |
SOCKET |
sock, |
|
|
const unsigned char * |
data, |
|
|
const int |
data_length |
|
) |
| |
Definition at line 21 of file tcp.c.