Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

160
Views
Problema con la dirección remota del servidor Node.JS net.Socket/TCP

Estoy desarrollando juegos y he configurado un servidor TCP para manejar el lado del servidor del juego. Estoy tratando de obtener el lado del servidor IP de los jugadores, y actualmente uso la función net.Socket remoteAddress, pero da ::ffff: antes del IPv4, y solo estoy buscando obtener el IPv4 puro. ¿Cómo puedo obtener esto correctamente?

Actualmente estoy usando el siguiente código en el software del servidor para obtener IP:

 const connectedClientIP = socket.remoteAddress;
about 4 years ago · Santiago Gelvez
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!