I need to know where i can learn to connect two computers to make a chat program. does and one know where i can go to learn or teach me here?
Printable View
I need to know where i can learn to connect two computers to make a chat program. does and one know where i can go to learn or teach me here?
You need to learn how to use something called Sockets, in particular, WinSock.
There is a basic - get you started tutorial/primer here.
I have written one program with sockets a couple of months ago.
I give it to you and hope to be helpfull. It is written very dirty :o , but it covers the basics of the listening on a port. Run the program, press the listen button and open a telnet connection on port 50002. Then type some stuff in there. The program should recieve the strings you type.
It is very small program and I wrote it just to practice my sockets skills.
P.S. Note the initialization in Initinstance function. And it is written using MFC.
it said im missing a DLL file
You should have all the .DLL files which are needed to run MFC programs if you have Microsoft Visual Studio installed. Build the project in release mode. If the problem persists right click on the .exe file and from the pop-up menu choose "View Dependencies".
There you can see which DLL file is required, but missing.