Connect to an http Server via Winsock

Category:
Network/Internet
Type:
Applications
Difficulty:
Beginning
Author:
SubReality

Version Compatibility: Visual Basic 5

More information:
This demo application shows you how to connect to an http server via winsock and display contents from a page on that server in your application. You can change the port from 80, so the server you connect to does not necessarily have to be an http server. This is a good starting point for an Internet Client application.

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download winsocksample.zip