using win32 socket implement a communication tool