Ejemplo n.º 1
0
 static byte ToBytes_cb(IntPtr inst)
 {
     try {
         InetAddress __obj = GLib.Object.GetObject(inst, false) as InetAddress;
         byte        __result;
         __result = __obj.OnToBytes();
         return(__result);
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }
Ejemplo n.º 2
0
 static IntPtr ToString_cb(IntPtr inst)
 {
     try {
         InetAddress __obj = GLib.Object.GetObject(inst, false) as InetAddress;
         string      __result;
         __result = __obj.OnToString();
         return(GLib.Marshaller.StringToPtrGStrdup(__result));
     } catch (Exception e) {
         GLib.ExceptionManager.RaiseUnhandledException(e, true);
         // NOTREACHED: above call does not return.
         throw e;
     }
 }
Ejemplo n.º 3
0
		public static InetAddress NewLoopback(GLib.SocketFamily family)
		{
			InetAddress result = new InetAddress (g_inet_address_new_loopback((int) family));
			return result;
		}
Ejemplo n.º 4
0
        public static InetAddress NewLoopback(GLib.SocketFamily family)
        {
            InetAddress result = new InetAddress(g_inet_address_new_loopback((int)family));

            return(result);
        }