Alistair Riddoch
cdfc1a9483
Move the template implentations into headers
2012-07-31 22:48:22 +01:00
Alistair Riddoch
e776106ae9
Move CommClient to being a template - final changes
...
This required cleaning up a bunch of other things:
Expose functions to disconnect and flush sockets generally
Make a new base class for objects that link a socket to the server
2012-07-31 20:21:58 +01:00
Alistair Riddoch
81a8039b11
Make base stream class a template.
2012-07-30 19:18:18 +01:00
Alistair Riddoch
75a4d3be91
Remove explicit calls to close
...
The underlying socket is closed in the skstream destructor.
The two calls were unnecessary already, but completely so given
that neither are needed.
2012-07-26 09:43:16 +01:00
Alistair Riddoch
79fcbe5168
Use C++ iostream eof() instead of the C constant.
2009-09-18 12:18:23 +01:00
Al Riddoch
4cbd4750a3
2009-01-29 Al Riddoch <alriddoch@googlemail.com>
...
* server/CommStreamClient.cpp, server/CommStreamClient.h:
New base class for client socket objects using skstream tcp
streams.
2009-01-29 18:02:30 +00:00