Pol  Revision:3cfda13
sckutil.h
Go to the documentation of this file.
1 
7 #ifndef SCKUTIL_H
8 #define SCKUTIL_H
9 
10 #include <string>
11 namespace Pol
12 {
13 namespace Clib
14 {
15 class Socket;
16 
17 bool readline( Socket& sck, std::string& s, bool* timeout_exit = 0,
18  unsigned int interchar_timeout_secs = 0, unsigned maxlen = 0 );
19 
20 void writeline( Socket& sck, const std::string& s );
21 
22 bool readstring( Socket& sck, std::string& s, unsigned int interchar_secs, unsigned length );
23 }
24 }
25 #endif
void writeline(Socket &sck, const std::string &s)
Definition: sckutil.cpp:58
bool readline(Socket &sck, std::string &s, bool *timeout_exit, unsigned int timeout_secs, unsigned maxlen)
Definition: sckutil.cpp:17
Definition: berror.cpp:12
bool readstring(Socket &sck, std::string &s, unsigned int interchar_secs, unsigned length)
Definition: sckutil.cpp:64