text: import socketio from "socket.io-client";
  
  const socket = socketio("http://192.168.0.102:3333", {
    autoCorrect: false,
  });
  
  function connect(latitude, longitude, techs) {
    socket.io.opts.query = {
      latitude,
      longitude,
      techs,
    };
  
    socket.connect();
  }
  
  function disconnect() {
    if (socket.connected) {
      socket.disconnect();
    }
  }
  
  export { connect, disconnect };
  