Can you help me. I want to know how to get my own IP address (but not
localhost) from my computer using java. I tried using InetAddress
but my application can't compiled. The message was something about
static method : "static method getAddress() (or maybe getHostAddress
()) cannot be referenced from static context myMethod()"
Can anyone help me with this???
One more question. If I have a client-server application using RMI,
how can I send messages to all client, and how can I disconnect my
client?? I've been looking through the web, but I haven't found any.