Hi,
is there any option to check how big message size is in order to invoke recv() with the proper buflen parameter?
I tried the option to put recv in while loop with fixed buflen, tmp buffer and reallocated the proper buffer, however, it didn't work as I intended.
Any help will be appreciated.
is there any option to check how big message size is in order to invoke recv() with the proper buflen parameter?
I tried the option to put recv in while loop with fixed buflen, tmp buffer and reallocated the proper buffer, however, it didn't work as I intended.
Any help will be appreciated.