Hello I just downloaded few sources in networking in most of them they do
Code:
memset(buffer, 0, sizeof(buffer));
and after that recv the buffer
I had a problem before in a program but when i added memset to it it worked good i wanna
why in most cases they do memset isnt buffer alrdy doesnt have anything inside it why would i memset it ?