Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

bad ip adresse  RSS feed

 
mark smith
Ranch Hand
Posts: 258
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

in a client/server application

when the client connect, on the server i do



the serveur print:
/127.0.0.1

i don't understand the "/"

if i use


the serveur print:
127.0.0.1

we alway need to use: getInetAddress().getHostAddress() to get the correct ip?

thanks
[ December 01, 2005: Message edited by: Marc collin ]
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16006
87
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getHostAddress()
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!