CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 9 of 9

Threaded View

  1. #1
    Join Date
    Mar 2005
    Location
    Canada Alberta
    Posts
    80

    1 to 1 chat program

    what I want to do is creat a small chat program that outputs to a console (DOS). the thing I don't know how to do is send that string data, I'm gonna go over the code in attachment on this post http://www.codeguru.com/forum/showthread.php?t=318600 but I don't see a rescieve on the client side in that source. Do I need to make both people client and server? or just combined them? all I need to know is how to send the message , I'd like to know what it is I need to know to do this and/or how to do this. I can handle the output to console and the management of data once it reaches its destination I just don't know how to get it there.

    Edit: TCP/IP of course.
    Last edited by barrensoul; March 11th, 2005 at 02:23 PM.
    In C, you merely shoot yourself in the foot.

    In C++, you accidentally create a dozen instances of yourself and shoot them all in the foot. Providing emergency medical care is impossible, because you can't tell which are bitwise copies and which are just pointing at others and saying, "That's me, over there."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured