Click here to Skip to main content
15,905,504 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRandomized ... Pin
Sunnygirl1-Jul-03 10:41
Sunnygirl1-Jul-03 10:41 
GeneralRe: Randomized ... Pin
David Crow1-Jul-03 11:07
David Crow1-Jul-03 11:07 
GeneralRe: Randomized ... Pin
Sunnygirl2-Jul-03 11:09
Sunnygirl2-Jul-03 11:09 
GeneralRe: Randomized ... Pin
David Crow2-Jul-03 16:49
David Crow2-Jul-03 16:49 
GeneralRe: Randomized ... Pin
valikac1-Jul-03 11:10
valikac1-Jul-03 11:10 
GeneralInternet Programming help Pin
Steven M Hunt1-Jul-03 10:35
Steven M Hunt1-Jul-03 10:35 
GeneralRe: Internet Programming help Pin
valikac1-Jul-03 11:11
valikac1-Jul-03 11:11 
GeneralRe: Internet Programming help Pin
Peter Weyzen1-Jul-03 11:46
Peter Weyzen1-Jul-03 11:46 
What's the scope of your quest?

Is this a "for fun" kinda "i want to talk to my friends" thing?

If you're doing a "for fun" programming, the easiest way to do this, is to create a peer-to-peer application. Where each client speaks directly to the other client via the net -- TCP or UDP (winsock). This involves writing one piece of software, the software is a UI, and a networking endpoint.

If you want to write a serious chat program, that ya gotta go the "client/server" route. Where you actually end up writing 2 different pieces of software: a client(UI and winsock connection to server) and a server which manages the chat, and makes sure text is routed to each connected client.

Client/Server is by far the better route. Peer-to-Peer seems simple until you want to do something fancy -- like create a chat room with more than one other person in it. Or for more advanced -- sending video to more than one other person....

Good luck in your chat adventure.

I've seen source code out there for simple peer-to-peer chat programs based in java....


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
Peter Weyzen<br />
Staff Engineer<br />
<A HREF="http://www.santacruznetworks.com">Santa Cruz Networks</A>

GeneralRe: Internet Programming help Pin
Steven M Hunt1-Jul-03 12:26
Steven M Hunt1-Jul-03 12:26 
GeneralRe: Internet Programming help Pin
Andrew Walker1-Jul-03 12:41
Andrew Walker1-Jul-03 12:41 
QuestionCross-Process-Negotiation? Pin
whizer1-Jul-03 9:49
whizer1-Jul-03 9:49 
AnswerRe: Cross-Process-Negotiation? Pin
Joaquín M López Muñoz1-Jul-03 10:17
Joaquín M López Muñoz1-Jul-03 10:17 
QuestionNEWLINE??? Pin
Scozturk1-Jul-03 9:02
professionalScozturk1-Jul-03 9:02 
AnswerRe: NEWLINE??? Pin
David Crow1-Jul-03 10:59
David Crow1-Jul-03 10:59 
AnswerRe: NEWLINE??? Pin
John M. Drescher1-Jul-03 14:23
John M. Drescher1-Jul-03 14:23 
QuestionHow to make an IE toolbar? Pin
kydfru1-Jul-03 7:59
kydfru1-Jul-03 7:59 
GeneralPutting debug info in executable Pin
Patje1-Jul-03 7:04
Patje1-Jul-03 7:04 
GeneralRe: Putting debug info in executable Pin
basementman1-Jul-03 7:39
basementman1-Jul-03 7:39 
GeneralRe: Putting debug info in executable Pin
Peter Weyzen1-Jul-03 9:39
Peter Weyzen1-Jul-03 9:39 
GeneralRe: Putting debug info in executable Pin
Toni781-Jul-03 18:52
Toni781-Jul-03 18:52 
GeneralAbout OnCtlColor Pin
olinn1-Jul-03 6:56
olinn1-Jul-03 6:56 
GeneralRe: About OnCtlColor Pin
Joaquín M López Muñoz1-Jul-03 10:12
Joaquín M López Muñoz1-Jul-03 10:12 
GeneralRe: About OnCtlColor Pin
olinn1-Jul-03 15:41
olinn1-Jul-03 15:41 
GeneralRe: About OnCtlColor Pin
Ryan Binns1-Jul-03 15:53
Ryan Binns1-Jul-03 15:53 
GeneralRe: About OnCtlColor Pin
olinn1-Jul-03 16:26
olinn1-Jul-03 16:26 

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.