FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
f_stccomm.h File Reference
#include "typedefs.h"

Go to the source code of this file.

Classes

struct  s_tcpcomm
 
struct  s_comm_message
 
struct  s_comm_portserv
 

Macros

#define PORTSERV_DATA   "portserv.dat"
 
#define MAXSERVER   50
 
#define PORTSERVER_PORT   1000
 
#define PORTSERVER_M_DEF   "VSBP"
 
#define PORTSERVER_S_DEF   "DSAG"
 
#define FALSE   0
 
#define TRUE   1
 
#define f_stc_nosig(ps_server)   (ps_server)->i_signals = 100;
 
#define STC__FAILURE   0
 
#define STC__SUCCESS   1
 
#define STC__INVSOCK   2
 
#define STC__INVBUF   3
 
#define STC__NGBUFSIZE   4
 
#define STC__INVTIME   5
 
#define STC__TIMEOUT   6
 
#define STC__NOTSOCK   7
 
#define STC__INVADDR   8
 
#define STC__INVADDRF   9
 
#define STC__SOCKNSUP   10
 
#define STC__INVPROTO   11
 
#define STC__SOCKTABF   12
 
#define STC__SOCKSPAF   13
 
#define STC__SOCKISC   14
 
#define STC__CONNTOUT   15
 
#define STC__NETUNREA   16
 
#define STC__PORTINUS   17
 
#define STC__SOCKISP   18
 
#define TPS__ECPORTS   19
 
#define TPS__EREGSERV   20
 
#define TPS__EWTOPORTS   21
 
#define TPS__ERMFRPORTS   22
 
#define TPS__EGSERVICE   23
 
#define STC__BROPIPE   24
 
#define STC__NODATA   25
 
#define STC__ECONNREF   26
 
#define STC__EINTR   27
 
#define STC__ECONNRES   28
 
#define TCPCOMM_INCLUDE   1
 

Functions

INTS4 f_stc_connectserver ()
 
INTS4 f_stc_createserver ()
 
INTS4 f_stc_listenserver ()
 
INTS4 f_stc_acceptclient ()
 
INTS4 f_stc_disperror ()
 
INTS4 f_stc_read ()
 
INTS4 f_stc_write ()
 
INTS4 f_stc_close ()
 
INTS4 f_stc_discclient ()
 
void f_stc_swap4 (INTS4 *)
 

Macro Definition Documentation

#define f_stc_nosig (   ps_server)    (ps_server)->i_signals = 100;

Definition at line 361 of file f_stccomm.h.

#define FALSE   0

Definition at line 359 of file f_stccomm.h.

#define MAXSERVER   50

Definition at line 322 of file f_stccomm.h.

#define PORTSERV_DATA   "portserv.dat"

Definition at line 319 of file f_stccomm.h.

#define PORTSERVER_M_DEF   "VSBP"

Definition at line 324 of file f_stccomm.h.

#define PORTSERVER_PORT   1000

Definition at line 323 of file f_stccomm.h.

#define PORTSERVER_S_DEF   "DSAG"

Definition at line 325 of file f_stccomm.h.

#define STC__BROPIPE   24

Definition at line 391 of file f_stccomm.h.

#define STC__CONNTOUT   15

Definition at line 382 of file f_stccomm.h.

#define STC__ECONNREF   26

Definition at line 393 of file f_stccomm.h.

#define STC__ECONNRES   28

Definition at line 395 of file f_stccomm.h.

#define STC__EINTR   27

Definition at line 394 of file f_stccomm.h.

#define STC__FAILURE   0

Definition at line 367 of file f_stccomm.h.

#define STC__INVADDR   8

Definition at line 375 of file f_stccomm.h.

#define STC__INVADDRF   9

Definition at line 376 of file f_stccomm.h.

#define STC__INVBUF   3

Definition at line 370 of file f_stccomm.h.

#define STC__INVPROTO   11

Definition at line 378 of file f_stccomm.h.

#define STC__INVSOCK   2

Definition at line 369 of file f_stccomm.h.

#define STC__INVTIME   5

Definition at line 372 of file f_stccomm.h.

#define STC__NETUNREA   16

Definition at line 383 of file f_stccomm.h.

#define STC__NGBUFSIZE   4

Definition at line 371 of file f_stccomm.h.

#define STC__NODATA   25

Definition at line 392 of file f_stccomm.h.

#define STC__NOTSOCK   7

Definition at line 374 of file f_stccomm.h.

#define STC__PORTINUS   17

Definition at line 384 of file f_stccomm.h.

#define STC__SOCKISC   14

Definition at line 381 of file f_stccomm.h.

#define STC__SOCKISP   18

Definition at line 385 of file f_stccomm.h.

#define STC__SOCKNSUP   10

Definition at line 377 of file f_stccomm.h.

#define STC__SOCKSPAF   13

Definition at line 380 of file f_stccomm.h.

#define STC__SOCKTABF   12

Definition at line 379 of file f_stccomm.h.

#define STC__SUCCESS   1

Definition at line 368 of file f_stccomm.h.

#define STC__TIMEOUT   6

Definition at line 373 of file f_stccomm.h.

#define TCPCOMM_INCLUDE   1

Definition at line 397 of file f_stccomm.h.

#define TPS__ECPORTS   19

Definition at line 386 of file f_stccomm.h.

#define TPS__EGSERVICE   23

Definition at line 390 of file f_stccomm.h.

#define TPS__EREGSERV   20

Definition at line 387 of file f_stccomm.h.

#define TPS__ERMFRPORTS   22

Definition at line 389 of file f_stccomm.h.

#define TPS__EWTOPORTS   21

Definition at line 388 of file f_stccomm.h.

#define TRUE   1

Definition at line 360 of file f_stccomm.h.

Function Documentation

INTS4 f_stc_acceptclient ( )
INTS4 f_stc_close ( )
INTS4 f_stc_connectserver ( )
INTS4 f_stc_createserver ( )
INTS4 f_stc_discclient ( )
INTS4 f_stc_disperror ( )
INTS4 f_stc_listenserver ( )
INTS4 f_stc_read ( )
void f_stc_swap4 ( INTS4 )
INTS4 f_stc_write ( )