bitcoin/bitcoin — pull request #4504 by laanwj (2014-07-10 10:18:23+00:00)
Title: Convert closesocket 'compat wrapper' to function in netbase

Simpler alternative to #4348.

The current setup with closesocket() is strange. It poses as a compatibility wrapper but adds functionality.

Rename it and make it a documented utility function `CloseSocket` in netbase.

Code movement only, zero effect on functionality.