Difference Between Memset and ZeroMemory
<p>I'm coding up a simple (old) fashioned way to write a socket program and there is a part where there is</p>

<pre><code>memset(&amp;addrinfo, NULL, sizeof(addrinfo));
</code></pre>

<p>in Unix/Linux or Windows. In the MSDN tutorial, Microsoft uses </p>

<pre><code>ZeroMemory(&amp;addrinfo, sizeof (addrinfo));
</code></pre>

<p>I was just wondering, is there any difference between the two functions? </p>