Browse Source

Merge pull request #17 from joshpeterson/enet-address-sync

Match the layout of ENetAddress in enet.h
nxrighthere 7 years ago
parent
commit
4c2ff4d67b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Source/Managed/ENet.cs

+ 1 - 0
Source/Managed/ENet.cs

@@ -65,6 +65,7 @@ namespace ENet {
 		[MarshalAs(UnmanagedType.ByValArray, SizeConst = 16)]
 		public byte[] host;
 		public ushort port;
+		public ushort sin6_scope_id;
 	}
 
 	[StructLayout(LayoutKind.Sequential)]