Click here to Skip to main content
15,898,134 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
GeneralRe: Help me! Pin
Christian Graus7-Apr-05 13:19
protectorChristian Graus7-Apr-05 13:19 
GeneralMFC Pin
Member 18625147-Apr-05 0:03
Member 18625147-Apr-05 0:03 
GeneralRe: MFC Pin
Christian Graus7-Apr-05 13:24
protectorChristian Graus7-Apr-05 13:24 
Generalinherited overloaded operators Pin
Aaron Sulwer30-Mar-05 13:33
Aaron Sulwer30-Mar-05 13:33 
GeneralRe: inherited overloaded operators Pin
Christian Graus30-Mar-05 14:36
protectorChristian Graus30-Mar-05 14:36 
GeneralRe: inherited overloaded operators Pin
Aaron Sulwer30-Mar-05 16:08
Aaron Sulwer30-Mar-05 16:08 
GeneralRe: inherited overloaded operators Pin
TigerNinja_5-Apr-05 9:02
TigerNinja_5-Apr-05 9:02 
GeneralSimple chat programs Pin
Melnx30-Mar-05 10:43
Melnx30-Mar-05 10:43 
I searched through many of the "chat" programs provided on this site, but could not find any that were simple enough, and a lot even used a windows interface. What I want to know how to do, is to make a simple server and a client using a terminal window. All I basically want it to do is this:

SERVER::
>Runs on a hardcoded ip adress and port (for simplicity) and can handle multiple clients.
>Also, needs to somehow keep track of the IP+ports of the users who are logged on. (maybe a string array would work well)

CLIENT::
>Whenever you run the Client, it connects to the hardcoded IP+port.
>As soon as you logon, the server sends you some simple message like "Hello"
>Then, you put in the nickname you want to use.
>Then you enter the chat room, and whatever you type in, the server sends to all the other Clients. like this "MyName> hello chat clients"

Also, if you could, please keep this to as few includes as possible, as far as I can tell, you really only need <iostream>or<stdio> and "winsock2.h". Also, please keep it to standard datatypes (int char string etc.)

Thank you for helping me with this project.
GeneralRe: Simple chat programs Pin
Christian Graus30-Mar-05 12:00
protectorChristian Graus30-Mar-05 12:00 
GeneralRe: Simple chat programs Pin
Aaron Sulwer30-Mar-05 13:35
Aaron Sulwer30-Mar-05 13:35 
GeneralRe: Simple chat programs Pin
Melnx30-Mar-05 16:34
Melnx30-Mar-05 16:34 
GeneralRe: Simple chat programs Pin
Melnx30-Mar-05 16:36
Melnx30-Mar-05 16:36 
GeneralRe: Simple chat programs Pin
Aaron Sulwer30-Mar-05 16:54
Aaron Sulwer30-Mar-05 16:54 
GeneralRe: Simple chat programs Pin
Melnx31-Mar-05 10:12
Melnx31-Mar-05 10:12 
GeneralRe: Simple chat programs Pin
Melnx31-Mar-05 10:19
Melnx31-Mar-05 10:19 
GeneralRe: Simple chat programs Pin
Aaron Sulwer31-Mar-05 11:37
Aaron Sulwer31-Mar-05 11:37 
GeneralRe: Simple chat programs Pin
GHHTavasoli4-Apr-05 9:14
GHHTavasoli4-Apr-05 9:14 
GeneralProblems recieveing from a socket Pin
farklem29-Mar-05 11:30
farklem29-Mar-05 11:30 
GeneralRe: Problems recieveing from a socket Pin
farklem29-Mar-05 14:25
farklem29-Mar-05 14:25 
GeneralDigital Logic Circuit Pin
popo8428-Mar-05 19:55
popo8428-Mar-05 19:55 
GeneralRe: Digital Logic Circuit Pin
Christian Graus30-Mar-05 12:01
protectorChristian Graus30-Mar-05 12:01 
GeneralRe: Digital Logic Circuit Pin
popo8431-Mar-05 16:22
popo8431-Mar-05 16:22 
GeneralRe: Digital Logic Circuit Pin
Christian Graus31-Mar-05 20:30
protectorChristian Graus31-Mar-05 20:30 
QuestionHow to dock a form? Pin
User 91483328-Mar-05 11:35
User 91483328-Mar-05 11:35 
AnswerRe: How to dock a form? Pin
Christian Graus30-Mar-05 12:02
protectorChristian Graus30-Mar-05 12:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.