extern "ws2_32" fn socket(i32, i32, i32) callconv(WINAPI) SOCKET

Parameters

af: i32,
type: i32,
protocol: i32,