You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there is a bug in file tcpip.cpp EtherCard::clientTcpReq so it returns '0' as session id for tcp connection
tcp_fd = (tcp_fd + 1) & 7;
return tcp_fd;
tcp_fd initiates with value 0 and is cycled from 1 to 7, when previous tcp_fd equals 7 the next value will be
(7+1) & 7 = 0,
but must be again 1. Added 1 line before "return" and solved my problem.
I think there is a bug in file tcpip.cpp EtherCard::clientTcpReq so it returns '0' as session id for tcp connection
tcp_fd initiates with value 0 and is cycled from 1 to 7, when previous tcp_fd equals 7 the next value will be
(7+1) & 7 = 0,
but must be again 1. Added 1 line before "return" and solved my problem.
The text was updated successfully, but these errors were encountered: