Skip to content
Snippets Groups Projects
Commit e4d72836 authored by Roberto Borghes's avatar Roberto Borghes
Browse files

Delete ClientSocket.h

parent 9f422918
No related branches found
No related tags found
No related merge requests found
//=============================================================================
//
// file : ClientSocket.h
//
// description : Definition of the ClientSocket class.
// From an article in "Linux gazette" by Rob Tougher
// And modified later.
//
// project : Socket
//
// $Author: pascal_verdier $
//
// $Revision: 1.1.1.1 $
// $Log: ClientSocket.h,v $
// Revision 1.1.1.1 2007/01/12 10:07:43 pascal_verdier
// Initial Revision
//
//
// copyleft : European Synchrotron Radiation Facility
// BP 220, Grenoble 38043
// FRANCE
//
// (c) - Software Engineering Group - ESRF
//=============================================================================
#ifndef ClientSocket_class
#define ClientSocket_class
#include <string.h>
#include "SocketAccess.h"
#include <sys/time.h>
class ClientSocket : private SocketAccess
{
public:
ClientSocket ( std::string host, int port );
virtual ~ClientSocket(){};
void set_non_blocking(const bool);
const ClientSocket& operator << ( const std::string& ) const;
const ClientSocket& operator >> ( std::string& ) const;
const ClientSocket& operator >> ( char *s ) const;
int recv(char *);
void readln(std::string&, short);
void readuntil(std::string&, char *, short);
void readchar(char &, short);
};
#endif
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment