Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / March 2005

Tip: Looking for answers? Try searching our database.

Remoting in .NET 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Vicki - 15 Mar 2005 15:53 GMT
I am trying to follow the example for creating a TCP channel given in MSDN
library, but seem to have something missing.  I can do:

using System.Runtime.Remoting.Channels;

But then there is no TCP or HTTP within Channels there to use in the next
using statement as shown in the example.  Subsequent attempts to create a
variable of type TcpChannel are invalid as well.  Is there something more I
need to install?
Denny Britz - 15 Mar 2005 16:01 GMT
Hi,

> But then there is no TCP or HTTP within Channels there to use in the next
> using statement as shown in the example.  Subsequent attempts to create a
> variable of type TcpChannel are invalid as well.  Is there something more I
> need to install?

No, but you have to add a reference to System.Net.Runtime.Remoting
in Visual Studio using the "Add Reference" Dialog.
[MSFT] - 18 Mar 2005 08:57 GMT
More exactly, I think you need to add a reference to:

System.Runtime.Remoting.Channels.Tcp

and

System.Runtime.Remoting.Channels.Http

Hope this help,

Luke

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.