[Mono-list] TcpChannel constructor throws SocketException with DHCP on Mac OS X
Paolo Molaro
lupus at ximian.com
Mon Jul 16 10:58:53 EDT 2007
On 07/14/07 Robert Smallshire wrote:
> The following program, which simply constructs a TcpChannel object fails on
> Mono 1.2.4 with a SocketException.
>
> using System.Runtime.Remoting.Channels.Tcp;
> namespace Test {
> class Program {
> static void Main(string[] args) {
> TcpChannel channel = new TcpChannel(1234);
> }
> }
> }
>
> Unhandled Exception: System.Net.Sockets.SocketException: No such host is
> known
> at System.Net.Dns.hostent_to_IPHostEntry (System.String h_name,
> System.String[] h_aliases, System.String[] h_addrlist) [0x00000]
> at System.Net.Dns.GetHostByName (System.String hostName) [0x00000]
Could you file this info in a bugzilla bug report so that it can be
tracked?
Thanks!
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-list
mailing list