Home > other >  LWIP TCP connection port 443 is not successful, connection port 80 will be successful
LWIP TCP connection port 443 is not successful, connection port 80 will be successful

Time:10-02

Use LWIP do SSL connection, connect the network port 443, have a chance to connect is not successful, but connect outside network 80 network with a host of 80 port, there is no problem,
Link under Linux server port 443 normal,

After caught found that the LWIP TCP request was successful, but did not respond to the TCP server to confirm package,
Occasionally a server port 443 can connect successfully,

Is LWIP TCP packets at port 443, blocked by the some of the gateway can cause sometimes the connection is successful, sometimes unable to connect successfully?

CodePudding user response:

Because my system is boot on electricity, connect the connection, a few times before the connect package, send no response, can response happens a few times, the connection is successful once, again connection is no problem, I think it's first few package is gateway or routing discarded,
Now is 100 ms after the request no connection is successful, continue to send, can the connection is successful,
  • Related