I am using C ++ TCP / IP sockets. According to my requirements, my client must connect to the server and read the messages sent to it (something really new, not so), but ... in my application I need to wait a while (usually 1 - 2 hours) before I I’ll start reading messages (via recv () or read ()), and the server continues to send messages anyway.
I want to know if there is a bandwidth limit on the buffer that stores these messages if they are not read and whose physical memory is used to buffer these messages? Sender or receiver?
TCP , . , , , , EAGAIN/EWOULDBLOCK, / . 2 ^ 32-1 , 2 ^ 16-1, , TCP , 16 . [ , >= 64k, , , , .]
, . , , , , FD , , , , . , , , : , , . , , .