-
Type:
Bug
-
Resolution: Done
-
Priority:
Trivial - P5
-
None
-
Affects Version/s: 2.5.1
-
Component/s: Networking
-
None
-
Fully Compatible
-
ALL
-
None
-
None
-
None
-
None
-
None
-
None
-
None
_recv can return -1 so it can decrement the value of _bytesIn. It is currently only being used for metrics.
int Socket::unsafe_recv( char *buf, int max ) { int x = _recv( buf , max ); _bytesIn += x; return x; }