As my first statement in my program I have:

ChannelServices.RegisterChannel(new TcpChannel(8085));

An I get the following exception:

Unhandled Exception: System.Net.Sockets.SocketException: No such host is known
in <0x000a0> 00 System.Net.Dns:GetHostByName (string)
in <0x00057> 00 System.Runtime.Remoting.Channels.Tcp.TcpServerChannel:Init 
(System.Runtime.Remoting.Channels.IServerChannelSinkProvider)
in <0x00103> 00 System.Runtime.Remoting.Channels.Tcp.TcpServerChannel:.ctor 
(System.Collections.IDictionary,System.Runtime.Remoting.Channels.IServerChannelSinkProvider)
in <0x000da> 00 System.Runtime.Remoting.Channels.Tcp.TcpChannel:Init 
(System.Collections.IDictionary,System.Runtime.Remoting.Channels.IClientChannelSinkProvider,System.Runtime.Remoting.Channels.IServerChannelSinkProvider)
in <0x00094> 00 System.Runtime.Remoting.Channels.Tcp.TcpChannel:.ctor (int)
in <0x00031> 00 RemotingSamples.Server:Main (string[])

The hostname should be 'localhost' and System.Net.Dns.GetHostByName should 
return 127.0.0.1.  Right?  How can I provide more input?

- Urs
_______________________________________________
Mono-list maillist  -  [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to