masa-koz / rusctp

An implementation of the Stream Transport Control Procotol (SCTP)
0 stars 0 forks source link

move writing after the poll loop. #6

Closed masa-koz closed 4 years ago

masa-koz commented 4 years ago

If we wrote any data into any stream before the poll loop, poll() may block before the idle time fired. So, we should move it after the poll loop.