pub type StreamSocket = *mut c_void;