Re: handle events on server
From: Eddie Stone (nospam_at_spammy.org)
Date: 10/07/04
- Previous message: Ken Kolda: "Re: How to use surrogate class for serialization?"
- In reply to: Ken Kolda: "Re: handle events on server"
- Next in thread: Ken Kolda: "Re: handle events on server"
- Reply: Ken Kolda: "Re: handle events on server"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 07 Oct 2004 13:07:25 -0700
Hi Ken,
I can see what you mean, your test did fail in the same way. However on
my set-up the firewall on my machine which hosts the server is not
blocking requests like this.
I know this because my samples work with clients on other remote
machines which I access from gotomypc and from another asp.net website.
Also the webserver where the client fails does not block outgoing
requests because I wrote a little sample to download yahoo homepage
using
System.Net.WebClient();
I know I'm clutching at straws but I wonder if there is anyway to
utilise remoting to use this outgoing connection to contact my server
with some info. If its not possible then I can start looking at a new
host, smart clients and other kinds of workarouds.
Your help is much appreciated.
"Ken Kolda" <ken.kolda@elliemae-nospamplease.com> wrote in
news:eTCybnJrEHA.2724@TK2MSFTNGP14.phx.gbl:
> ChannelServices.RegisterChannel(new TcpChannel());
>
> try
> {
> object o = Activator.GetObject(typeof(IA),
> "tcp://www.yahoo.com:1000/MyServer.rem");
> Console.Write(o.ToString());
> }
> catch (Exception ex)
> {
> Console.WriteLine(ex.ToString());
> }
>
> Console.ReadLine();
- Previous message: Ken Kolda: "Re: How to use surrogate class for serialization?"
- In reply to: Ken Kolda: "Re: handle events on server"
- Next in thread: Ken Kolda: "Re: handle events on server"
- Reply: Ken Kolda: "Re: handle events on server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|