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