advertisement

Find Code  Advanced Search   

Free Newsletters:   
browse free vb code
Submit Code
ASP,  HTML, and XML
Database
Dates  and Math
Files  and Directories
Forms  and Controls
Lists,  Collections, and Arrays
Miscellaneous
Multimedia/Games
Office/VBA
Network/Internet
Registry
Screen/Graphics
String  Manipulation
System/API
Windows  2000/XP
VB.NET/ASP.NET



advertisement
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 174398 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

Sponsored Links