Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to determine if all data is received in the socket buffer?

Tags:

sockets

delphi

Is it possible to determine if TServerSocket Receive Buffer contains all data in there ?


1 Answers

That's the case of the protocol.

  • Can be a defined end token. e.g. CR LF CR LF in HTTP
  • A header containing then length of the request.
like image 111
bummi Avatar answered Jan 25 '26 17:01

bummi