cs sdk v 1.14 released

Home  |  Product  |  Documents  |  Tutorials  |  FAQ |   Download  |   Forum |   Contacts  |   Link  


  Cross Suit

 Cross Suit SDK

 Documents
      classes
 Starting...
           Tutorials

 LUA tutorials

   Support

  Forum
  q&a

 Product parts

 Virtual File system

 Virtual Render
 Virtual Machine
   

  Demo Games

   

 3D Engine

  gvSystem(dx9)

 Link

 

 

TCPClient_t Struct Reference

#include <TCPClient.h>

Collaboration diagram for TCPClient_t:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 TCPClient_t ()
virtual ~TCPClient_t ()
bool IsConnected ()
bool Connect (const char *host, unsigned short port)
void Disconnect ()
bool Send (char *fmt,...)
int Read (char *dest, int &len)
bool CanRead ()

Protected Attributes

socket_t sock

Static Protected Attributes

static const int dataBuffSize

Detailed Description

Definition at line 42 of file TCPClient.h.


Constructor & Destructor Documentation

TCPClient_t::TCPClient_t (  )  [inline]

Definition at line 44 of file TCPClient.h.

References INVALID_SOCKET, and sock.

virtual TCPClient_t::~TCPClient_t (  )  [inline, virtual]

Definition at line 45 of file TCPClient.h.

References Disconnect().

Here is the call graph for this function:


Member Function Documentation

bool TCPClient_t::IsConnected (  )  [inline]

Definition at line 47 of file TCPClient.h.

References INVALID_SOCKET, and sock.

bool TCPClient_t::Connect ( const char *  host,
unsigned short  port 
)

void TCPClient_t::Disconnect (  ) 

Referenced by ~TCPClient_t().

bool TCPClient_t::Send ( char *  fmt,
  ... 
)

int TCPClient_t::Read ( char *  dest,
int &  len 
)

bool TCPClient_t::CanRead (  ) 


Member Data Documentation

const int TCPClient_t::dataBuffSize [static, protected]

Definition at line 56 of file TCPClient.h.

Definition at line 57 of file TCPClient.h.

Referenced by IsConnected(), and TCPClient_t().


The documentation for this struct was generated from the following file:

Copyright(C) gvSystem & GamePlus All Rights Reserved.