1,105,594 Community Members

HELP! vb.net 2005 winsock simple client server chat

Member Avatar
yeeitsneo
Light Poster
41 posts since Sep 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

hi. i made a simple chat app on vb 2005 express edition.
Its juts a simple client server chat.
could anyone help me turn it into a multi client chat. where more than 1 user could connect to the server. it must include a publich chat room where everyone connected can chat and also the server has the ability to send a private messgae to any client connected.

The program is attached here.

thank you so much for the help.

Member Avatar
shadyreal
Newbie Poster
15 posts since Mar 2012
Reputation Points: 0 [?]
Q&As Helped to Solve: 0 [?]
Skill Endorsements: 0 [?]
 
0
 

I have never coded in VB. But In C# and C++ I have created a chat server that does the following:

For every accepted connection I start a new thread(because I need to listen for incoming messages, unless you make a thread that listen on everyone) on it and creates a new class for it.

So you need to save every connection for each client( I did it with hashtables) , and names and other things you might want.

I have never made a chat room, but it might not be hard.

Member Avatar
yeeitsneo
Light Poster
41 posts since Sep 2011
Reputation Points: 0 [?]
Q&As Helped to Solve: 1 [?]
Skill Endorsements: 0 [?]
 
0
 

heres the link for the program ive created : http://www.mediafire.com/?duuklm9525ydj72

You
This article has been dead for over three months: Start a new discussion instead
Post:
Start New Discussion
Tags Related to this Article