Refactoring the IPC address retrieve code into function nn_usock_create_ipc_address
Add nn_usock_unlink for support unlink IPC pipe name.
Create function nn_usock_close to handle socket close and PIPE close at the same time.
Add win_error_check_return functin
Test TCP send recv first.
Storage the nn_epbase parameter in usock_win for named pipe ipc usage under win32.
Use WaitForMultipleObjects instead select for supporting Named Pipe.
To convert all udp/tcp object use WaitForMultipleObjects , we need reference to the following solution.
https://gitorious.org/freerdp/mainline/commit/dc367b54a5a75118f0092a01badea5e0f7e4da25
Getting things works first.