Tcp/ip

This is a discussion on Tcp/ip within the Windows Programming forums, part of the Platform Specific Boards category; I need to know where i can learn to connect two computers to make a chat program. does and one ...

  1. #1
    Registered User PanzTec's Avatar
    Join Date
    Sep 2004
    Posts
    24

    Tcp/ip

    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?

  2. #2
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    You need to learn how to use something called Sockets, in particular, WinSock.

    There is a basic - get you started tutorial/primer here.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  3. #3
    Registered User
    Join Date
    Sep 2003
    Posts
    87
    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 , 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.
    Attached Files Attached Files

  4. #4
    Registered User PanzTec's Avatar
    Join Date
    Sep 2004
    Posts
    24
    it said im missing a DLL file
    The Matrix Will Live Again!

  5. #5
    Registered User
    Join Date
    Sep 2003
    Posts
    87
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. tcp/ip chat
    By gopal_85 in forum C Programming
    Replies: 12
    Last Post: 12-12-2007, 10:55 PM
  2. help on tcp/ip device communcation..
    By cueball15 in forum Networking/Device Communication
    Replies: 1
    Last Post: 08-30-2005, 11:51 PM
  3. TCP/IP ethernet
    By arian in forum Networking/Device Communication
    Replies: 6
    Last Post: 05-22-2005, 08:05 PM
  4. Looking for a good C++ TCP/IP tutorial.
    By OmegaFirebolt in forum C++ Programming
    Replies: 2
    Last Post: 06-26-2002, 09:47 PM
  5. Tcp/ip
    By tim545666 in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 04-09-2002, 05:14 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21