a basic chat client using the Windows socket API