For that purpose you'll need to use Winsock!