#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 |
( |
int |
sock | ) |
|
Definition at line 97 of file tcp.c.
int growl_tcp_datagram |
( |
const char * |
server, |
|
|
const unsigned char * |
data, |
|
|
const int |
data_length |
|
) |
| |
int growl_tcp_open |
( |
const char * |
server | ) |
|
Definition at line 64 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 |
( |
int |
sock | ) |
|
Definition at line 45 of file tcp.c.
void growl_tcp_write |
( |
int |
sock, |
|
|
const char *const |
format, |
|
|
|
... |
|
) |
| |
Definition at line 20 of file tcp.c.