Thomas Arthofer
3ceb1e1135
Implicitly close sockets in destructor methods
2015-05-17 17:08:03 +02:00
totokaka
240deb27d4
Raise IOError when TCPConnection.read(length) recieves no data.
...
This commit fixes #24 by simply checking whether the socket received any data at all. If it did not, an IOError is raised.
It might be that we should try to recieve multiple times before the IOError is raised, but this is not implemented in this commit as to avoid bloat.
2015-01-03 11:05:07 +01:00
Nathan Adams
4c4239e6f8
Set default timeout to 3
2014-09-11 17:45:35 +02:00
Nathan Adams
5c4d7fb35e
Default charset is actually ISO-8859-1, not ascii.
2014-09-10 21:34:08 +02:00
Nathan Adams
3757cbe876
Fixed order of connection.write decoding
2014-09-06 21:22:35 +02:00
Nathan Adams
c6ba6778f6
Added support for Query
2014-09-06 21:19:24 +02:00
Nathan Adams
94264f22ea
Decode status results into their own object for accessibility & validation
2014-09-05 12:33:18 +02:00
Nathan Adams
db2d357623
Proper py3 support!
2014-09-05 00:03:46 +02:00
Nathan Adams
e82a44f580
Use bytearray more efficiently, better python 3.1 support
2014-09-04 23:21:52 +02:00
Nathan Adams
f07976fbec
Added initial work for server pinging. Normal pings work, Query NYI.
2014-09-04 22:25:21 +02:00