Your Ad Here

November 22, 2007

Create a chat room using the Winsock control.

Author: Richard C. Yarnell
Category: Network/Internet
Type: Applications
Difficulty: Advanced

Version Compatibility: Visual Basic 5 Visual Basic 6

More information: Create a chat room in VB which allows multiple people to chat and draw pictures.

(From FreeVBCode.com) This is an excellent application for anybody who wants to learn how to manage multiple winsock connections. The code is well-commented. A good way to see how it works is to 1) Compile the application. 2) Run three instances of it, and on one of them, click Host. 3) Use the other two instances as if two people are chatting with each other.

This code has been viewed 140545 times.

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.

code/manychat.zip
online

No comments: