[DllImport("ws2_32.dll", SetLastError = true)] public static extern IntPtr socket( int af, int type, int protocol );
Microsoft documentation: Link
Last updated 2 months ago