Click here to Skip to main content
15,845,103 members
Home / Discussions / C#
   

C#

 
AnswerRe: a way to use arrays with negative pointers? Pin
Wjousts10-Nov-03 12:39
Wjousts10-Nov-03 12:39 
GeneralRe: a way to use arrays with negative pointers? Pin
Demokritos11-Nov-03 13:40
Demokritos11-Nov-03 13:40 
GeneralConvert string to class (sort of) Pin
MrEyes10-Nov-03 7:30
MrEyes10-Nov-03 7:30 
GeneralRe: Convert string to class (sort of) Pin
Wjousts10-Nov-03 8:06
Wjousts10-Nov-03 8:06 
GeneralRe: Convert string to class (sort of) Pin
MrEyes10-Nov-03 8:09
MrEyes10-Nov-03 8:09 
GeneralRe: Convert string to class (sort of) Pin
Heath Stewart10-Nov-03 8:44
protectorHeath Stewart10-Nov-03 8:44 
GeneralA couple of line drawing questions... Pin
DoofToo10-Nov-03 7:12
DoofToo10-Nov-03 7:12 
GeneralRe: A couple of line drawing questions... Pin
mhmoud rawas11-Nov-03 2:36
mhmoud rawas11-Nov-03 2:36 
GeneralPrinting.. Pin
Amirjalaly10-Nov-03 6:50
Amirjalaly10-Nov-03 6:50 
GeneralRe: Printing.. Pin
Heath Stewart10-Nov-03 7:01
protectorHeath Stewart10-Nov-03 7:01 
GeneralRemoting and Events Pin
CillyMe10-Nov-03 6:08
CillyMe10-Nov-03 6:08 
In order to implement events in remoting, the remoting object must NOT be "SAO-Single call"? Is this correct?

How'd you implement a chat server? Say, when a client call ChatServer.SubmitMsg(string msg) - ChatServer being remote object - ChatServer would then broadcast the message to all other client. How'd you implement or design the architecture?

I'm thinking, since it's one chatserver to many clients, it shouldn't be CAO. But it can't be SAO either. The most suitable choice would be SAO-Singleton. Since SAO-singleton is stateful, a message submitted by one client can be broadcasted to all other clients using events. ie. MsgSubmitEvent can be fired from within SubmitMsg. What do you think?
GeneralRe: Remoting and Events Pin
Heath Stewart10-Nov-03 6:39
protectorHeath Stewart10-Nov-03 6:39 
GeneralRe: Remoting and Events Pin
CillyMe10-Nov-03 6:44
CillyMe10-Nov-03 6:44 
GeneralRe: Remoting and Events Pin
Heath Stewart10-Nov-03 6:51
protectorHeath Stewart10-Nov-03 6:51 
GeneralRe: Remoting and Events Pin
CillyMe10-Nov-03 15:37
CillyMe10-Nov-03 15:37 
GeneralRe: Remoting and Events Pin
Heath Stewart11-Nov-03 3:55
protectorHeath Stewart11-Nov-03 3:55 
GeneralRe: Remoting and Events Pin
LongRange.Shooter10-Nov-03 7:04
LongRange.Shooter10-Nov-03 7:04 
GeneralEnumerating Data Sources in C# Pin
Inam10-Nov-03 5:41
Inam10-Nov-03 5:41 
GeneralRe: Enumerating Data Sources in C# Pin
Heath Stewart10-Nov-03 6:33
protectorHeath Stewart10-Nov-03 6:33 
GeneralAlternatives to databinding Pin
Wjousts10-Nov-03 5:19
Wjousts10-Nov-03 5:19 
GeneralWindows Security check fails when it should not??!! Pin
LongRange.Shooter10-Nov-03 5:16
LongRange.Shooter10-Nov-03 5:16 
GeneralRe: Windows Security check fails when it should not??!! Pin
Heath Stewart10-Nov-03 6:32
protectorHeath Stewart10-Nov-03 6:32 
GeneralRe: Windows Security check fails when it should not??!! Pin
LongRange.Shooter10-Nov-03 7:25
LongRange.Shooter10-Nov-03 7:25 
GeneralAbsolute beginner Pin
-=LoKi=-10-Nov-03 3:03
-=LoKi=-10-Nov-03 3:03 
GeneralRe: Absolute beginner Pin
Heath Stewart10-Nov-03 4:37
protectorHeath Stewart10-Nov-03 4:37 

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.