Click here to Skip to main content
16,015,583 members
Home / Discussions / C#
   

C#

 
GeneralRe: Sleep function in C# Pin
Judah Gabriel Himango26-Oct-04 4:24
sponsorJudah Gabriel Himango26-Oct-04 4:24 
GeneralRe: Sleep function in C# Pin
Gary Thom26-Oct-04 4:29
Gary Thom26-Oct-04 4:29 
GeneralSending Messages between Networked Computers. Pin
acidik26-Oct-04 3:29
acidik26-Oct-04 3:29 
GeneralPlus: Error message when adding a MessageQueue control... Pin
acidik26-Oct-04 4:18
acidik26-Oct-04 4:18 
GeneralRe: Sending Messages between Networked Computers. Pin
Judah Gabriel Himango26-Oct-04 4:31
sponsorJudah Gabriel Himango26-Oct-04 4:31 
GeneralRe: Sending Messages between Networked Computers. Pin
Heath Stewart26-Oct-04 6:39
protectorHeath Stewart26-Oct-04 6:39 
GeneralRe: Sending Messages between Networked Computers. Pin
Judah Gabriel Himango26-Oct-04 8:47
sponsorJudah Gabriel Himango26-Oct-04 8:47 
GeneralRe: Sending Messages between Networked Computers. Pin
Dave Kreskowiak26-Oct-04 4:48
mveDave Kreskowiak26-Oct-04 4:48 
You don't need Message Queue. All you need is Remoting.

You can implement this in two ways. Both would require that you have a central server application that your chat client checks in with to see who's logged in. This means that the Chat application is running on that persons computer(!), not that the machine is logged in!

You can have the central server dole out who's Chat application is logged in and what it's IP address is. This way, you can have direct communication between two clients without the need to have the server relay message for you. This would make GROUP chats difficult to implement though. It also greatly complicates the code on the client side, but simplifies the code on the server side.

The other method is to have the central server do all the message relaying for you. This would have the opposite effect on code complexity. The client side is simplified, but the server side gets complicated. This would give you the beneift of easier implementation of chat rooms though.

You could check out Picture Chat using C#[^] here on CP for a good example of how to implement chat.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Sending Messages between Networked Computers. Pin
S. Senthil Kumar26-Oct-04 6:28
S. Senthil Kumar26-Oct-04 6:28 
GeneralRe: Sending Messages between Networked Computers. Pin
ppp00114-Aug-05 23:43
ppp00114-Aug-05 23:43 
QuestionOpen HTML page in Window application? Pin
Miri Ofir26-Oct-04 3:09
Miri Ofir26-Oct-04 3:09 
AnswerRe: Open HTML page in Window application? Pin
Judah Gabriel Himango26-Oct-04 4:34
sponsorJudah Gabriel Himango26-Oct-04 4:34 
GeneralRe: Open HTML page in Window application? Pin
Miri Ofir30-Oct-04 19:52
Miri Ofir30-Oct-04 19:52 
GeneralBuilding Wizards Pin
shevi202726-Oct-04 2:58
shevi202726-Oct-04 2:58 
GeneralRe: Building Wizards Pin
Judah Gabriel Himango26-Oct-04 4:38
sponsorJudah Gabriel Himango26-Oct-04 4:38 
GeneralRe: Building Wizards Pin
Nick Parker26-Oct-04 7:42
protectorNick Parker26-Oct-04 7:42 
GeneralEvent in MyButton Pin
zsiga26-Oct-04 2:43
zsiga26-Oct-04 2:43 
GeneralRe: Event in MyButton Pin
Gary Thom26-Oct-04 4:33
Gary Thom26-Oct-04 4:33 
GeneralDatagrid column with a different.. Pin
S4E26-Oct-04 1:46
S4E26-Oct-04 1:46 
GeneralRe: Datagrid column with a different.. Pin
Judah Gabriel Himango26-Oct-04 4:41
sponsorJudah Gabriel Himango26-Oct-04 4:41 
GeneralSIP - Scrolling Pin
mathon26-Oct-04 0:52
mathon26-Oct-04 0:52 
Generalfile transfer and checking if the system is idle Pin
vyki_c26-Oct-04 0:33
vyki_c26-Oct-04 0:33 
Generalmotion detection and calculation of video through webcam in c# Pin
Nadeem198226-Oct-04 0:04
Nadeem198226-Oct-04 0:04 
QuestionHow to list network adapters? Pin
bouli26-Oct-04 0:01
bouli26-Oct-04 0:01 
AnswerRe: How to list network adapters? Pin
Judah Gabriel Himango26-Oct-04 4:44
sponsorJudah Gabriel Himango26-Oct-04 4:44 

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.