more fixes to (e)pgm transport

This commit is contained in:
Steven McCoy
2010-09-28 22:46:56 +02:00
committed by Martin Sustrik
parent 96d85b2098
commit d14be62499
6 changed files with 134 additions and 24 deletions

View File

@@ -59,9 +59,16 @@ namespace zmq
// i_poll_events interface implementation.
void in_event ();
void timer_event (int token);
private:
// RX timeout timer ID.
enum {rx_timer_id = 0xa1};
// RX timer is running.
bool has_rx_timer;
// If joined is true we are already getting messages from the peer.
// It it's false, we are getting data but still we haven't seen
// beginning of a message.