Example of socket client-server application for both windows and linux