TSocket
class description - source file - inheritance tree
private:
virtual Option_t* GetOption() const
void operator=(const TSocket&)
void SetDescriptor(Int_t desc)
protected:
TSocket()
public:
TSocket(TInetAddress address, Int_t port, Int_t tcpwindowsize = -1)
TSocket(const char* host, const char* service, Int_t tcpwindowsize = -1)
TSocket(const char* host, Int_t port, Int_t tcpwindowsize = -1)
TSocket(Int_t descriptor)
TSocket(const TSocket& s)
TSocket(TInetAddress address, const char* service, Int_t tcpwindowsize = -1)
virtual ~TSocket()
static TClass* Class()
virtual void Close(Option_t* opt)
UInt_t GetBytesRecv() const
UInt_t GetBytesSent() const
virtual Int_t GetDescriptor() const
Int_t GetErrorCode() const
TInetAddress GetInetAddress() const
virtual TInetAddress GetLocalInetAddress()
virtual Int_t GetLocalPort()
virtual Int_t GetOption(ESockOptions opt, Int_t& val)
Int_t GetPort() const
const char* GetService() const
static UInt_t GetSocketBytesRecv()
static UInt_t GetSocketBytesSent()
virtual TClass* IsA() const
virtual Bool_t IsValid() const
virtual Int_t Recv(char* mess, Int_t max, Int_t& kind)
virtual Int_t Recv(char* mess, Int_t max)
virtual Int_t Recv(Int_t& status, Int_t& kind)
virtual Int_t Recv(TMessage*& mess)
virtual Int_t RecvRaw(void* buffer, Int_t length, ESendRecvOptions opt = kDefault)
virtual Int_t Send(const TMessage& mess)
virtual Int_t Send(Int_t kind)
virtual Int_t Send(const char* mess, Int_t kind = kMESS_STRING)
virtual Int_t Send(Int_t status, Int_t kind)
virtual Int_t SendObject(const TObject* obj, Int_t kind = kMESS_OBJECT)
virtual Int_t SendRaw(const void* buffer, Int_t length, ESendRecvOptions opt = kDefault)
virtual Int_t SetOption(ESockOptions opt, Int_t val)
virtual void ShowMembers(TMemberInspector& insp, char* parent)
virtual void Streamer(TBuffer& b)
void StreamerNVirtual(TBuffer& b)
private:
UInt_t fBytesSent total bytes sent using this socket
UInt_t fBytesRecv total bytes received over this socket
static UInt_t fgBytesSent total bytes sent by all socket objects
static UInt_t fgBytesRecv total bytes received by all socket objects
protected:
Int_t fSocket socket descriptor
TString fService name of service (matches remote port #)
TInetAddress fAddress remote internet address and port #
TInetAddress fLocalAddress local internet address and port #
See also
-
TPSocket, TServerSocket
Last update: Fri May 14 13:32:43 2004
ROOT page - Class index - Top of the page
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.