Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > BOOK: Professional C#, 2nd and 3rd Editions
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
BOOK: Professional C#, 2nd and 3rd Editions
This is the forum to discuss the Wrox book Professional C#, 3rd Edition by Simon Robinson, Christian Nagel, Karli Watson, Jay Glynn, Morgan Skinner, Bill Evjen; ISBN: 9780764557590
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional C#, 2nd and 3rd Editions section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old January 31st, 2006, 02:31 AM
Authorized User
Join Date: Nov 2003
Location: , , .
Posts: 29
Thanks: 0
Thanked 0 Times in 0 Posts
Default .NET Remoting Client...


I am trying a .NET Remoting server & client using config file.
The server uses,

                <wellknown mode="Singleton" type="Temp.Temperature, Temp" objectUri="Temp"/>
                <wellknown mode="Singleton" type="ServerClass.ServerEmul, ServerClass" objectUri="Temp2"/>
                <channel port="8000" ref="http">
                        <formatter ref="soap" typeFilterLevel="Full" />
                        <formatter ref="soap" />

The client uses...
        <application name="ClientTest">
                <wellknown type="Temp.Temperature, Temperature" url="http://localhost:8000/Temp"/>
                <wellknown type="ServerClass.ServerEmul, ServerClass" url="http://localhost:8000/Temp2"/>
                <channel ref="http" port="0"/>

The above config is registered using RemotingConfiguration.Configure(); Seems working fine for 1 Client instance. When I start using 2nd client instance, I am getting an error that the HTTP port is already in use. I tried 2nd client from another computer, it seems working fine. So I figured out that for client, <channel ref="http" port="0"/> needs to have an name attribute to refer to every client instance. How do I do this?
Is there a better way?

Please Advice,


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
.NET Remoting premalm ASP.NET 2.0 Professional 3 August 5th, 2008 02:31 PM
RegisterChannel on the client (.NET Remoting) DevMike BOOK: Professional C#, 2nd and 3rd Editions 1 January 25th, 2006 01:37 PM
.NET Remoting application in vb.net Tek4VB .NET Web Services 6 November 19th, 2003 09:59 AM
Remoting (.Net) Indian Ocean .NET Web Services 6 November 12th, 2003 03:27 PM
.NET Enterprise Development in VB.NET Remoting burkert All Other Wrox Books 0 June 24th, 2003 09:04 AM

All times are GMT -4. The time now is 07:32 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.