create a public UnixConn funciton