Hi Ingo, Thanks for your advice,
i still have some more questions, 1. for two servers, A and B, they can get each other objects(not by call back, but independently), can the two ways communications share the same http channel ? 2. for async communication of two servers by call back, any good reference and sample codes on internet ? 3. is that only for client activated remoting, the server can get the reference of the server object being activated, while server activated remoting cannot, is it true? 4. for creating and register a httpChannel, is that a thread is already allocated for the httpchannel activity ? Thanks for your help Patrick 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.