예제 #1
0
 public HostNameResolver(Client client, int iface, Protocol proto, string hostname,
                         Protocol aproto, LookupFlags flags)
 {
     this.client   = client;
     this.iface    = iface;
     this.proto    = proto;
     this.hostname = hostname;
     this.aproto   = aproto;
     this.flags    = flags;
     cb            = OnHostNameResolverCallback;
 }
 public HostNameResolver(Client client, int iface, Protocol proto, string hostname,
                          Protocol aproto, LookupFlags flags)
 {
     this.client = client;
     this.iface = iface;
     this.proto = proto;
     this.hostname = hostname;
     this.aproto = aproto;
     this.flags = flags;
     cb = OnHostNameResolverCallback;
 }
예제 #3
0
 private static extern IntPtr avahi_host_name_resolver_new(IntPtr client, int iface, Protocol proto,
                                                           byte[] hostname, Protocol aproto, LookupFlags flags,
                                                           HostNameResolverCallback cb, IntPtr userdata);
예제 #4
0
 private static extern IntPtr avahi_host_name_resolver_new (IntPtr client, int iface, Protocol proto,
                                                            byte[] hostname, Protocol aproto, LookupFlags flags,
                                                            HostNameResolverCallback cb, IntPtr userdata);