Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AH501B
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
spe
ds
AH501B
Commits
e4d72836
Commit
e4d72836
authored
3 years ago
by
Roberto Borghes
Browse files
Options
Downloads
Patches
Plain Diff
Delete ClientSocket.h
parent
9f422918
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ClientSocket.h
+0
-53
0 additions, 53 deletions
ClientSocket.h
with
0 additions
and
53 deletions
ClientSocket.h
deleted
100755 → 0
+
0
−
53
View file @
9f422918
//=============================================================================
//
// 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
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment