Testing with very long packets
This commit is contained in:
@@ -102,8 +102,10 @@ int main( int argc, char *argv[] )
|
||||
|
||||
if ( fds[ 0 ].revents & POLLIN ) {
|
||||
char x = getchar();
|
||||
for ( int i = 0; i < 4096; i++ ) {
|
||||
n->get_current_state().key_hit( x );
|
||||
}
|
||||
}
|
||||
|
||||
if ( fds[ 1 ].revents & POLLIN ) {
|
||||
n->recv();
|
||||
|
||||
Reference in New Issue
Block a user