diff options
| author | Vincent Richard <[email protected]> | 2014-02-05 19:18:20 +0000 |
|---|---|---|
| committer | Vincent Richard <[email protected]> | 2014-02-05 19:18:20 +0000 |
| commit | 0d20ee083b69d0cbde5a57a745386b987752af46 (patch) | |
| tree | bbcbc887fc23cb6e6b2fdc05acd446ce89921319 /tests/testUtils.hpp | |
| parent | Merge branch 'master' of https://github.com/kisli/vmime (diff) | |
| download | vmime-0d20ee083b69d0cbde5a57a745386b987752af46.tar.gz vmime-0d20ee083b69d0cbde5a57a745386b987752af46.zip | |
Better polling. Fixed possible connection issues on POSIX with slow network. Better error handling in POSIX sockets.
Diffstat (limited to 'tests/testUtils.hpp')
| -rw-r--r-- | tests/testUtils.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testUtils.hpp b/tests/testUtils.hpp index 9e72158a..20ebdf20 100644 --- a/tests/testUtils.hpp +++ b/tests/testUtils.hpp @@ -248,6 +248,9 @@ public: bool isConnected() const; + bool waitForWrite(const int msecs = 30000); + bool waitForRead(const int msecs = 30000); + void receive(vmime::string& buffer); void send(const vmime::string& buffer); void send(const char* str); |
