• Post Reply Bookmark Topic Watch Topic
  • New Topic

bad ip adresse

 
mark smith
Ranch Hand
Posts: 257
  • 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: 15715
73
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!