how exactly would i use winsock to do this?