Click here to Skip to main content
16,005,697 members
Home / Discussions / C#
   

C#

 
GeneralDelegate on a MarshalByRefObject Pin
PEK6-Apr-05 1:17
PEK6-Apr-05 1:17 
GeneralRe: Delegate on a MarshalByRefObject Pin
S. Senthil Kumar6-Apr-05 1:27
S. Senthil Kumar6-Apr-05 1:27 
GeneralRe: Delegate on a MarshalByRefObject Pin
PEK6-Apr-05 5:03
PEK6-Apr-05 5:03 
GeneralRe: Delegate on a MarshalByRefObject Pin
Tom Larsen6-Apr-05 4:45
Tom Larsen6-Apr-05 4:45 
GeneralRe: Delegate on a MarshalByRefObject Pin
PEK6-Apr-05 5:59
PEK6-Apr-05 5:59 
GeneralRe: Delegate on a MarshalByRefObject Pin
Tom Larsen11-Apr-05 6:47
Tom Larsen11-Apr-05 6:47 
GeneralRe: Delegate on a MarshalByRefObject Pin
S. Senthil Kumar6-Apr-05 20:04
S. Senthil Kumar6-Apr-05 20:04 
GeneralRe: Delegate on a MarshalByRefObject Pin
Tom Larsen11-Apr-05 6:27
Tom Larsen11-Apr-05 6:27 
Http is just built upon TCP. If you have any situation where you map "many to one" how do you traverse the firewall/network translation? The server only sees an IP plus any information carried along in the Http header. Simply put, how does the server initialize a connection to the client back? You can do it as a response because the client initialized the connection. It is much harder when the server needs to initialize.

For a client-server situation, delegates aren't the best thing to use. As stated since they are in entirely different application domains (let alone different processors/machines) and since delegates are not interupts how in the world can you possibly use them correctly? How do you gaurentee the client is ready to respond to the delegate? You simply can not.

If you want delegates with a setup like that, put the delegate on the client side. Call the server , check the response, fire the delegate from the client to the client. Expecting a server to figure out how to handle a delegate to a client just work out well (believe me I've tried).
Questionhow to get screen solution number? Pin
MJay5-Apr-05 23:56
MJay5-Apr-05 23:56 
AnswerRe: how to get screen solution number? Pin
Ray Hayes6-Apr-05 0:12
Ray Hayes6-Apr-05 0:12 
Questionhow to use dll created by C,C++ in C# project? Pin
Sachin Gedam5-Apr-05 23:32
Sachin Gedam5-Apr-05 23:32 
AnswerRe: how to use dll created by C,C++ in C# project? Pin
spif20015-Apr-05 23:42
spif20015-Apr-05 23:42 
GeneralRe: how to use dll created by C,C++ in C# project? Pin
Sachin Gedam6-Apr-05 0:25
Sachin Gedam6-Apr-05 0:25 
GeneralRe: how to use dll created by C,C++ in C# project? Pin
DavidNohejl6-Apr-05 0:33
DavidNohejl6-Apr-05 0:33 
GeneralStarting a new thread -help Pin
Anthony Mushrow5-Apr-05 23:04
professionalAnthony Mushrow5-Apr-05 23:04 
GeneralRe: Starting a new thread -help Pin
spif20016-Apr-05 0:01
spif20016-Apr-05 0:01 
GeneralRe: Starting a new thread -help Pin
S. Senthil Kumar6-Apr-05 1:23
S. Senthil Kumar6-Apr-05 1:23 
GeneralRe: Starting a new thread -help Pin
Anthony Mushrow6-Apr-05 8:41
professionalAnthony Mushrow6-Apr-05 8:41 
GeneralRe: Starting a new thread -help Pin
S. Senthil Kumar6-Apr-05 20:00
S. Senthil Kumar6-Apr-05 20:00 
GeneralMacromedia Flash with C# Pin
Sabry19055-Apr-05 21:57
Sabry19055-Apr-05 21:57 
GeneralRe: Macromedia Flash with C# Pin
S. Senthil Kumar5-Apr-05 22:06
S. Senthil Kumar5-Apr-05 22:06 
GeneralRe: Macromedia Flash with C# Pin
Pyro Joe6-Apr-05 1:09
Pyro Joe6-Apr-05 1:09 
GeneralRe: Macromedia Flash with C# Pin
Sabry19056-Apr-05 4:04
Sabry19056-Apr-05 4:04 
Questionauto versioning? Pin
zecodela5-Apr-05 20:35
zecodela5-Apr-05 20:35 
AnswerRe: auto versioning? Pin
leppie5-Apr-05 23:19
leppie5-Apr-05 23:19 

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.