Click here to Skip to main content
15,912,578 members
Home / Discussions / C#
   

C#

 
AnswerRe: How do I bounce an old thread? Pin
Mustafa Ismail Mustafa26-Jan-09 4:04
Mustafa Ismail Mustafa26-Jan-09 4:04 
GeneralRe: How do I bounce an old thread? Pin
J4amieC26-Jan-09 4:27
J4amieC26-Jan-09 4:27 
GeneralRe: How do I bounce an old thread? Pin
Mustafa Ismail Mustafa26-Jan-09 4:30
Mustafa Ismail Mustafa26-Jan-09 4:30 
QuestionProblem to if communicate with video capture device! Pin
Alex_xso26-Jan-09 3:27
Alex_xso26-Jan-09 3:27 
AnswerRe: Problem to if communicate with video capture device! Pin
Mustafa Ismail Mustafa26-Jan-09 3:57
Mustafa Ismail Mustafa26-Jan-09 3:57 
GeneralRe: Problem to if communicate with video capture device! Pin
Alex_xso26-Jan-09 5:02
Alex_xso26-Jan-09 5:02 
Questionclient/server problem [modified] Pin
staticv26-Jan-09 3:20
staticv26-Jan-09 3:20 
AnswerRe: client/server problem Pin
Mustafa Ismail Mustafa26-Jan-09 3:55
Mustafa Ismail Mustafa26-Jan-09 3:55 
It sounds like you're trying to emulate a group chat/IM session.

You're going to need to register all the users who "log" on to your server and are interested in the echo. The Observer pattern is precisely what you are looking for: http://www.dofactory.com/Patterns/PatternObserver.aspx[^] and http://en.wikipedia.org/wiki/Observer_pattern[^]

After reading that you should have a clue of what you ought to do but in plain English what you're doing is that you're making a list of all the registrants and instead of echoing to one, you're broadcasting the echo to each and everyone in the list.

Post back if you need more help.
GeneralRe: client/server problem Pin
staticv26-Jan-09 4:09
staticv26-Jan-09 4:09 
GeneralRe: client/server problem Pin
Mustafa Ismail Mustafa26-Jan-09 4:28
Mustafa Ismail Mustafa26-Jan-09 4:28 
GeneralRe: client/server problem [modified] Pin
staticv26-Jan-09 4:37
staticv26-Jan-09 4:37 
GeneralRe: client/server problem Pin
Mustafa Ismail Mustafa26-Jan-09 4:40
Mustafa Ismail Mustafa26-Jan-09 4:40 
GeneralRe: client/server problem Pin
staticv26-Jan-09 4:42
staticv26-Jan-09 4:42 
GeneralRe: client/server problem Pin
Mustafa Ismail Mustafa26-Jan-09 4:44
Mustafa Ismail Mustafa26-Jan-09 4:44 
GeneralRe: client/server problem Pin
staticv26-Jan-09 4:46
staticv26-Jan-09 4:46 
QuestionIn a service application, where do I add the functions that it should perform? Pin
anahita8726-Jan-09 1:24
anahita8726-Jan-09 1:24 
AnswerRe: In a service application, where do I add the functions that it should perform? Pin
musefan26-Jan-09 2:57
musefan26-Jan-09 2:57 
AnswerRe: In a service application, where do I add the functions that it should perform? Pin
#realJSOP26-Jan-09 4:57
professional#realJSOP26-Jan-09 4:57 
Questionvalidation Pin
abu rakan26-Jan-09 0:44
abu rakan26-Jan-09 0:44 
AnswerRe: validation Pin
musefan26-Jan-09 0:54
musefan26-Jan-09 0:54 
GeneralRe: validation Pin
Manas Bhardwaj26-Jan-09 0:59
professionalManas Bhardwaj26-Jan-09 0:59 
GeneralRe: validation Pin
musefan26-Jan-09 1:05
musefan26-Jan-09 1:05 
GeneralRe: validation Pin
butchzn27-Jan-09 0:47
butchzn27-Jan-09 0:47 
AnswerRe: validation Pin
Christian Graus26-Jan-09 1:03
protectorChristian Graus26-Jan-09 1:03 
GeneralRe: validation Pin
abu rakan26-Jan-09 10:49
abu rakan26-Jan-09 10:49 

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.