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

149
Views
Node.JS net.Socket/TCP Server Remote Address issue

I am doing game development, and have set up an TCP server for handling the server side of the game. I am trying to obtain the players IP serverside, and i currently use the net.Socket remoteAddress feature, but it gives ::ffff: before the IPv4, and i am only looking to get the pure IPv4. How can i properly obtain this?

I'm currently using the following code in the server software to obtain 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!