Source: /app/hbasic/hbasic/packages/hbasic_radmin/tcp_connect.h
|
|
|
|
#ifndef TCP_CONNECT_H
#define TCP_CONNECT_H
class QString;
class QSqlDatabase;
class CMainData;
class CServerConnect
{
public:
CServerConnect( char *server_ip );
CServerConnect( QString *new_server_ip );
int getClientAnswer( char *buffer );
/* Get only return state from client. */
int getClientReturn( void );
void getClientError( char *buffer );
int sendClientCommand( long command, char *parameter, long par_length );
char *getClientFile( void );
int ReadServerAnswer(void );
int sendClientFile( long command_number, char *pathname );
int sendFileFromMemory( int command_number, char *pathname, char *start_file, long file_length );
private:
/* Ip number of server that we want to connect to. */
char *server_ip;
};
#endif
Generated by: root on linux on Sun Jul 13 18:06:35 2003, using kdoc 2.0a54. |