pub unsafe extern "C-unwind" fn legacysocket_getProtocol( socket: *mut LegacySocket, ) -> ProtocolType