• Welcome to Valhalla Legends Archive.
 

I need help

Started by SsJ_Naruto-Vash, February 04, 2005, 07:03 PM

Previous topic - Next topic

SsJ_Naruto-Vash

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!

Dyndrilliac

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.
Quote from: Edsger W. DijkstraIt is practically impossible to teach good programming to students that have had a prior exposure to BASIC; as potential programmers they are mentally mutilated beyond hope of regeneration.