Click here to Skip to main content
15,921,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Heap Class Pin
Dave Bryant1-Jul-03 16:27
Dave Bryant1-Jul-03 16:27 
GeneralRe: Heap Class Pin
Ken Mazaika1-Jul-03 16:39
Ken Mazaika1-Jul-03 16:39 
GeneralRe: Heap Class Pin
Ryan Binns1-Jul-03 16:41
Ryan Binns1-Jul-03 16:41 
QuestionHow to cover a video window by a transparent bitmap Pin
Chen Jiadong1-Jul-03 15:05
Chen Jiadong1-Jul-03 15:05 
Generalslider update problem. Pin
irvine1-Jul-03 15:03
irvine1-Jul-03 15:03 
Generaldelete operation Pin
act_x1-Jul-03 12:00
act_x1-Jul-03 12:00 
GeneralRe: delete operation Pin
Dave Bryant1-Jul-03 12:38
Dave Bryant1-Jul-03 12:38 
GeneralWin2000 MFC problem *LONG* Pin
djordj1-Jul-03 11:27
djordj1-Jul-03 11:27 
GeneralRe: Win2000 MFC problem *LONG* Pin
Toni781-Jul-03 19:50
Toni781-Jul-03 19:50 
QuestionHow to scroll a toolbar? Pin
ElizabethC1-Jul-03 11:14
ElizabethC1-Jul-03 11:14 
AnswerRe: How to scroll a toolbar? Pin
Michael Dunn1-Jul-03 12:55
sitebuilderMichael Dunn1-Jul-03 12:55 
GeneralRe: How to scroll a toolbar? Pin
ElizabethC1-Jul-03 13:18
ElizabethC1-Jul-03 13:18 
GeneralRe: How to scroll a toolbar? Pin
Michael Dunn1-Jul-03 19:49
sitebuilderMichael Dunn1-Jul-03 19:49 
GeneralRe: How to scroll a toolbar? Pin
ElizabethC2-Jul-03 8:24
ElizabethC2-Jul-03 8:24 
Generaltimer Pin
ej_wolf1-Jul-03 11:02
sussej_wolf1-Jul-03 11:02 
GeneralRe: timer Pin
valikac1-Jul-03 11:05
valikac1-Jul-03 11:05 
GeneralRe: timer Pin
Dave Bryant1-Jul-03 11:23
Dave Bryant1-Jul-03 11:23 
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>

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.