you can start by messing around with the winsock control.