Allow read only certain amount of data from a socket.
commit42d80774dd4c54144824911c90647d226d30ee02
authorDavid Brodsky <trekie@sinister.cz>
Thu, 6 Jul 2006 09:53:50 +0000 (6 11:53 +0200)
committerDavid Brodsky <trekie@sinister.cz>
Thu, 6 Jul 2006 09:53:50 +0000 (6 11:53 +0200)
tree7d7290b9a9d6035d6f50382d5ec668d69c1456e0
parent18975d09615ec78d3bdbdfc32fbc2401861d58d0
Allow read only certain amount of data from a socket.

Tairon::Net::Socket::read takes new parameter that specifies how many
characters at most can be read from a socket. If this count is greater than
internal buffer then the length of the internal buffer is used instead.
src/net-core/socket.cpp
src/net-core/socket.h