File tree Expand file tree Collapse file tree 18 files changed +33
-33
lines changed Expand file tree Collapse file tree 18 files changed +33
-33
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ void adamKeyboard::adamnet_control_receive()
3535 {
3636 AdamNet.wait_for_idle ();
3737 adamnet_send (0xC1 ); // NAK
38- client = server->available ();
38+ client = server->client ();
3939 }
4040 else if (!client.connected ())
4141 {
@@ -99,4 +99,4 @@ void adamKeyboard::adamnet_process(uint8_t b)
9999void adamKeyboard::shutdown ()
100100{
101101}
102- #endif /* BUILD_ADAM */
102+ #endif /* BUILD_ADAM */
Original file line number Diff line number Diff line change @@ -481,7 +481,7 @@ void adamModem::at_handle_answer()
481481 Debug_printf (" HANDLE ANSWER !!!\n " );
482482 if (tcpServer.hasClient ())
483483 {
484- tcpClient = tcpServer.available ();
484+ tcpClient = tcpServer.client ();
485485 tcpClient.setNoDelay (true ); // try to disable naggle
486486 // tcpServer.stop();
487487 answerTimer = fnSystem.millis ();
@@ -1269,4 +1269,4 @@ void adamModem::adamnet_process(uint8_t b)
12691269
12701270}
12711271
1272- #endif /* BUILD_ADAM */
1272+ #endif /* BUILD_ADAM */
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ void lynxKeyboard::comlynx_control_receive()
3535 {
3636 ComLynx.wait_for_idle ();
3737 comlynx_send (0xC1 ); // NAK
38- client = server->available ();
38+ client = server->client ();
3939 }
4040 else if (!client.connected ())
4141 {
Original file line number Diff line number Diff line change @@ -481,7 +481,7 @@ void lynxModem::at_handle_answer()
481481 Debug_printf (" HANDLE ANSWER !!!\n " );
482482 if (tcpServer.hasClient ())
483483 {
484- tcpClient = tcpServer.available ();
484+ tcpClient = tcpServer.client ();
485485 tcpClient.setNoDelay (true ); // try to disable naggle
486486 // tcpServer.stop();
487487 answerTimer = fnSystem.millis ();
Original file line number Diff line number Diff line change @@ -459,7 +459,7 @@ void drivewireModem::at_handle_answer()
459459 Debug_printf (" HANDLE ANSWER !!!\n " );
460460 if (tcpServer.hasClient ())
461461 {
462- tcpClient = tcpServer.available ();
462+ tcpClient = tcpServer.client ();
463463 tcpClient.setNoDelay (true ); // try to disable naggle
464464 // tcpServer.stop();
465465 answerTimer = fnSystem.millis ();
Original file line number Diff line number Diff line change @@ -455,7 +455,7 @@ void H89Modem::at_handle_answer()
455455 Debug_printf (" HANDLE ANSWER !!!\n " );
456456 if (tcpServer.hasClient ())
457457 {
458- tcpClient = tcpServer.available ();
458+ tcpClient = tcpServer.client ();
459459 tcpClient.setNoDelay (true ); // try to disable naggle
460460 // tcpServer.stop();
461461 answerTimer = fnSystem.millis ();
Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ void iwmModem::at_handle_answer()
565565 Debug_printf (" HANDLE ANSWER !!!\n " );
566566 if (tcpServer.hasClient ())
567567 {
568- tcpClient = tcpServer.available ();
568+ tcpClient = tcpServer.client ();
569569 tcpClient.setNoDelay (true ); // try to disable naggle
570570 // tcpServer.stop();
571571 answerTimer = fnSystem.millis ();
Original file line number Diff line number Diff line change @@ -596,7 +596,7 @@ void iwmModem::at_handle_answer()
596596 Debug_printf("HANDLE ANSWER !!!\n");
597597 if (tcpServer.hasClient())
598598 {
599- tcpClient = tcpServer.available ();
599+ tcpClient = tcpServer.client ();
600600 tcpClient.setNoDelay(true); // try to disable naggle
601601 // tcpServer.stop();
602602 answerTimer = fnSystem.millis();
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ void adamKeyboard::adamnet_control_receive()
3535 {
3636 AdamNet.wait_for_idle ();
3737 adamnet_send (0xC1 ); // NAK
38- client = server->available ();
38+ client = server->client ();
3939 }
4040 else if (!client.connected ())
4141 {
Original file line number Diff line number Diff line change @@ -481,7 +481,7 @@ void adamModem::at_handle_answer()
481481 Debug_printf (" HANDLE ANSWER !!!\n " );
482482 if (tcpServer.hasClient ())
483483 {
484- tcpClient = tcpServer.available ();
484+ tcpClient = tcpServer.client ();
485485 tcpClient.setNoDelay (true ); // try to disable naggle
486486 // tcpServer.stop();
487487 answerTimer = fnSystem.millis ();
You can’t perform that action at this time.
0 commit comments