Merge branch 'master' of github.com:Araq/Nimrod

This commit is contained in:
Araq
2012-10-24 01:14:09 +02:00

View File

@@ -34,7 +34,7 @@ type
proc open*(host = "localhost", port = 6379.TPort): TRedis =
## Opens a connection to the redis server.
result.socket = socket()
result.socket = socket(buffered = false)
if result.socket == InvalidSocket:
OSError()
result.socket.connect(host, port)