I've attached a patch for a bug found in Bonjour Provider in the ZeroConf library. The problem was when registering a service, the port was always 0 no matter what value was provided. To fix this, I changed the cast in the setter below from an int to a int16 to stop the overflow that happened there.
//Modifed Code: public ushort UPort { get { return (ushort)IPAddress.NetworkToHostOrder((int)port); } set { port = Convert.ToUInt16(IPAddress.HostToNetworkOrder((Int16)value)); } }
Service.cs
Description: Binary data
_______________________________________________ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list