|
The Chat Client is a Windows based Application and its main function is to send message to Chat Server.
The VB.NET Multithreaded Chat Server Program has two sections.
1. Chat Server
2. Chat Client
The Chat Client here is to connect the PORT 8888 of the Chat Server in " 127.0.0.1 " . Here we give " 127.0.0.1 " , because Chat Server and Chat Client are running on the same machine . When we start the Chat Client program , we have to enter a User Name for identifying in Server . The Client program connect to the Chat Server and start a Thread for receive the messages from client, . Here we implement an infinite loop in the function getMessage() and call this function in a Thread .
Create a new VB.NET Windows based project and put the source code in it.
VB.NET SourceCode
Download Chat Server Program .
Chat Server Download
Chat Client Download
Refer to Chat Server Program for how to run this program .
|