Main Page   Compound List   File List   Header Files   Sources   Compound Members   File Members  

netapi_t.h File Reference

Network API - type definition file. More...


Compounds

struct  errorInfo
struct  clientInfo

Defines

#define TCPIPVECT
TCPIP interrupt vector.

#define TCP
Constant for the TCP socket.

#define UDP
Constant for the UDP socket.


Typedefs

typedef int bool
bool is an int.

typedef unsigned char byte
a byte is an unsigned char.


Variables

struct errorInfoerrorInfoPtr
errorInfoPtr is a pointer to the errorInfo struct. More...

struct clientInfoclientInfoPtr
clientInfoPtr is a pointer to the clientInfo struct. More...


Detailed Description

Network API - type definition file.

@author: Christian Decker (cdecker@teco.edu)

Development System: Turbo C++ 3.0

Licence: GPL

This API was developed for easy handling the TCPIP/UDP functions of the SC12 from Beck GmbH. The code was inspired from snippets which I found in the examples delivered with the original API descriptions from Beck.

This API contains functions for opening, closing sockets, binding them, connection, sending and receiving data through them, listen on particular ports and some converting routines for IP-Adressen to network byte order. These functions not only for TCP sockets, they are for UDP sockets, too.

See also:
http://www.beck-ipc.com/ , http://www.teco.edu/~cdecker/ , cdecker@teco.edu

Definition in file netapi_t.h.


Define Documentation

#define TCPIPVECT ()

TCPIP interrupt vector.

Definition at line 34 of file netapi_t.h.

#define TCP ()

Constant for the TCP socket.

Definition at line 38 of file netapi_t.h.

#define UDP ()

Constant for the UDP socket.

Definition at line 42 of file netapi_t.h.


Typedef Documentation

typedef int bool

bool is an int.

Definition at line 75 of file netapi_t.h.

typedef unsigned char byte

a byte is an unsigned char.

Definition at line 80 of file netapi_t.h.


Variable Documentation

struct errorInfo* errorInfoPtr

errorInfoPtr is a pointer to the errorInfo struct.

See also:
errorInfo

Definition at line 56 of file netapi_t.h.

struct clientInfo* clientInfoPtr

clientInfoPtr is a pointer to the clientInfo struct.

See also:
clientInfo

Definition at line 70 of file netapi_t.h.


Generated at Fri Jun 9 20:55:36 2000 for NETAPI by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999