CPP socket recv () receives http request blocking from 360browser

linux cPP uses socket to simulate receiving http requests, and socket blocking does not set a timeout. When a get request for the same http is initiated with Firefox,chrome,IE under Windows or Linux, it only takes about 100 microseconds for recv to complete, but if the request is initiated with 360browser under Windows, the socket connection is established but blocked here in recv (). What is the reason why
recv () did not return?

May.07,2022

basically blocking socket recv () returns three cases

  1. received the data
  2. did not receive data, but the connection was disconnected
  3. No data was received, and the connection was not broken, but was interrupted by signal
Menu