COOLFluiD  Release kernel
COOLFluiD is a Collaborative Simulation Environment (CSE) focused on complex MultiPhysics simulations.
Functions
tcp.c File Reference
#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.

Functions

int growl_tcp_parse_hostname (const char *const server, int default_port, struct sockaddr_in *const sockaddr)
 
void growl_tcp_write (int sock, const char *const format,...)
 
char * growl_tcp_read (int sock)
 
int growl_tcp_open (const char *server)
 
void growl_tcp_close (int sock)
 
int growl_tcp_datagram (const char *server, const unsigned char *data, const int data_length)
 

Function Documentation

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 
)

Definition at line 135 of file tcp.c.

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 
)

Definition at line 105 of file tcp.c.

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.

Send comments to:
COOLFluiD Web Admin