Hi Patrick,

depends on your network. If you have a firewall or proxy set up between
client and server, it's not possible to do callbacks with remoting. Else
there should be no problem.

You just have to create the client-side channel assigned to port 0 (zero) -
either in the configuration file or by passing 0 to the constructor. This
way, it will determine a free port number on its own.

So, yes, you can use HttpChannel to do callbacks but a different connection
(originating from the server) is used for it. Neither with HttpChannel nor
TcpChannel is the same connection (the one originating from the client)
reused for callbacks.

HTH,
-Ingo

Author of "Advanced .NET Remoting"
http://www.dotnetremoting.cc 

> -----Original Message-----
> From: Patrick Tang [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 22, 2002 5:45 PM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] remoting channel
> 
> 
>  Hi,
> 
> for a server to server communication using remoting,
> can the same http channel be used for both forward and
> backward communication ? If yes, any special settings
> are needed ?
> 
> Thanks
> 
> Patrick
> ---------------------------------------------
>  歡迎使用HongKong.com郵件系統
>  Thank you for using hongkong.com Email system
> 
> You can read messages from the DOTNET archive, unsubscribe 
> from DOTNET, or
> subscribe to other DevelopMentor lists at http://discuss.develop.com.
> 

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to