Example #1
0
 public static extern IntPtr HostCreate(ENetAddressType addressType, NativeENetAddress *address, UIntPtr peerCount, UIntPtr channelLimit, uint incomingBandwidth, uint outgoingBandwidth);
Example #2
0
 public static extern int AddressSetHostIP(NativeENetAddress *address, [MarshalAs(UnmanagedType.LPStr)] string hostName);
Example #3
0
 public static extern NativeENetPeer *HostConnect(IntPtr host, NativeENetAddress *address, UIntPtr channelCount, uint data);
Example #4
0
 public static extern int AddressGetHostIP(NativeENetAddress *address, IntPtr hostName, UIntPtr nameLength);