|
@@ -736,6 +736,12 @@ void vBasicSocketsCommandInterpreterTask( void *pvParameters )
|
|
else {
|
|
else {
|
|
DBG printf(" Descriptor %d is readable\n", sock);
|
|
DBG printf(" Descriptor %d is readable\n", sock);
|
|
|
|
|
|
|
|
+ for(cur_cnt = 0; cur_cnt < NUMBER_TELNET_CONNECT; cur_cnt ++){
|
|
|
|
+ if(auth_tlnt_srvr_param[cur_cnt].num_connect == sock){
|
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
/* Receive data on this connection until the */
|
|
/* Receive data on this connection until the */
|
|
/* recv fails with EWOULDBLOCK. If any other */
|
|
/* recv fails with EWOULDBLOCK. If any other */
|
|
/* failure occurs, we will close the */
|
|
/* failure occurs, we will close the */
|