Click here to Skip to main content
15,909,091 members
Home / Discussions / C#
   

C#

 
GeneralRemoting: Inter object communication. Pin
Nathan Tran3-Dec-02 6:07
Nathan Tran3-Dec-02 6:07 
Hi,

I'm trying to code a chat server that supports tcp/udp connections as well as connections through remoting if the client is behind a firewall. How can I implement the server so that it will support both types of clients? The problem is that remoting requires the server object to be activated by the client but I need the server to be running all the time to support clients that are not using remoting to connect to it.

So the question is, how does an pre-existing object ( instantiated before the activation of the remoting object ) communicate with an object that is activated remotely by a client? The existing object and the activated object are in the same application domain ( I presume ).

This problem has been bugging me for days. I searched the net and there are a whole bunch of remoting tutorials, but none touches on this particular subject. Hopefully, some one here has a clue.

Nathan.

GeneralRe: Remoting: Inter object communication. Pin
John Rayner3-Dec-02 8:04
John Rayner3-Dec-02 8:04 
GeneralRe: Remoting: Inter object communication. Pin
Nathan Tran3-Dec-02 10:41
Nathan Tran3-Dec-02 10:41 
GeneralRe: Remoting: Inter object communication. Pin
John Rayner4-Dec-02 0:33
John Rayner4-Dec-02 0:33 
GeneralRe: Remoting: Inter object communication. Pin
Nathan Tran4-Dec-02 6:59
Nathan Tran4-Dec-02 6:59 
GeneralRe: Remoting: Inter object communication. Pin
John Rayner4-Dec-02 7:17
John Rayner4-Dec-02 7:17 
GeneralMonthCalendar Pin
rurko753-Dec-02 5:38
sussrurko753-Dec-02 5:38 
GeneralRe: MonthCalendar Pin
kaschimer3-Dec-02 10:46
kaschimer3-Dec-02 10:46 
GeneralWindows Messages Pin
Sean Rock3-Dec-02 3:34
Sean Rock3-Dec-02 3:34 
GeneralRe: Windows Messages Pin
Jeff J3-Dec-02 15:28
Jeff J3-Dec-02 15:28 
GeneralRe: Windows Messages Pin
Sean Rock3-Dec-02 22:08
Sean Rock3-Dec-02 22:08 
GeneralConverting Texbox.Text to int 32 Pin
djkno33-Dec-02 1:28
djkno33-Dec-02 1:28 
GeneralRe: Converting Texbox.Text to int 32 Pin
Rickard Andersson203-Dec-02 1:47
Rickard Andersson203-Dec-02 1:47 
GeneralRe: Converting Texbox.Text to int 32 Pin
djkno33-Dec-02 3:09
djkno33-Dec-02 3:09 
GeneralRe: Converting Texbox.Text to int 32 Pin
kaschimer3-Dec-02 4:01
kaschimer3-Dec-02 4:01 
GeneralRe: Converting Texbox.Text to int 32 Pin
djkno33-Dec-02 4:50
djkno33-Dec-02 4:50 
GeneralRe: Converting Texbox.Text to int 32 Pin
Pyt3-Dec-02 1:47
Pyt3-Dec-02 1:47 
GeneralRe: Converting Texbox.Text to int 32 Pin
djkno33-Dec-02 3:12
djkno33-Dec-02 3:12 
Generalclass diagram Pin
Anonymous3-Dec-02 0:54
Anonymous3-Dec-02 0:54 
GeneralRe: class diagram Pin
Ranjan Banerji3-Dec-02 2:09
Ranjan Banerji3-Dec-02 2:09 
GeneralRe: class diagram Pin
Michael P Butler3-Dec-02 3:30
Michael P Butler3-Dec-02 3:30 
GeneralRe: class diagram Pin
kaschimer3-Dec-02 4:11
kaschimer3-Dec-02 4:11 
GeneralRequest for adv C# tips & tricks Pin
ThaRudeDude2-Dec-02 20:58
ThaRudeDude2-Dec-02 20:58 
GeneralRe: Request for adv C# tips & tricks Pin
SimonS2-Dec-02 21:39
SimonS2-Dec-02 21:39 
GeneralLooping Problem. Pin
Steve McLenithan2-Dec-02 19:59
Steve McLenithan2-Dec-02 19:59 

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.