Belle II Software  release-08-01-10
SocketRecv Class Reference
Inheritance diagram for SocketRecv:
Collaboration diagram for SocketRecv:

Public Member Functions

 SocketRecv (u_short port)
 
int reconnect (int ntry)
 
int examine ()
 
int accept ()
 
int close ()
 
int sock () const
 
int sender () const
 
void sock (int sockid)
 
int get (char *data, int len)
 
int get_wordbuf (int *data, int len)
 
int read (char *data, int len)
 
int put (char *data, int len)
 
int write (char *data, int len)
 
int err () const
 
void interrupt ()
 
int put (int sock, char *data, int len)
 
int put_wordbuf (int sock, int *data, int len)
 
int get (int sock, char *data, int len)
 
int get_wordbuf (int sock, int *data, int len)
 
int get_pxd (int sock, char *data, int len)
 
int read_data (int sock, char *data, int len)
 
int write_data (int sock, char *data, int len)
 

Private Attributes

SocketIO m_io
 
struct hostent * m_hp
 
struct sockaddr_in m_sa
 
int m_port
 
int m_sock
 
int m_sender
 
int m_errno
 
int m_int
 

Detailed Description

Definition at line 48 of file SocketLib.h.

Member Function Documentation

◆ get_pxd()

int get_pxd ( int  sock,
char *  data,
int  len 
)
inherited

as this is fixed .... might not be needed if taken care of in unpacker

Definition at line 126 of file SocketLib.cc.


The documentation for this class was generated from the following files: