Valhalla Legends Archive

Programming => General Programming => Visual Basic Programming => Topic started by: SsJ_Naruto-Vash on February 04, 2005, 07:03 PM

Title: I need help
Post by: SsJ_Naruto-Vash on February 04, 2005, 07:03 PM
Hi, my name is Justin.  I'm 16, and I wanted to start programming si I started with VB like a month ago.  I managed to make a few basic programs, but nothing big.  I was wondering if anyone can help me with a project I'm working on.  I'm trying to make a chat program wich will be connected onto the server in my room.  I finished the commands and all the tabs for stuff, but I don't know how to put it onto the server and how to make it work over the internet.  When I use it, I just chat with myself... :-\
Any kind of help is appreciated ;D
thx ahead of time!
Title: Re: I need help
Post by: Dyndrilliac on February 04, 2005, 08:14 PM
Make a server app. Create a socket to Listen. Then, when it recieves a connection request, instantiate a new socket to connect with the request and continue listening for more connections. On your client, use a socket to connect to the server app. Then send that chat data to the server and have it echo to all the other clients.