Reputation: 2044
Like there are methods in Core Java and Android, is there any means to know the IP address of the device or desktop that sends me a socket connection, on BlackBerry?
This apart from sending the IP address in XML tags, as there is a need to have an API that does so...
I need to know methods in BlackBerry, matching getSocketAddress() which gives full detail, or getINetAddress() which only gives the IP address.
Upvotes: 0
Views: 172
Reputation: 596111
The javax.microedition.io.SocketConnection
class has a getAddress()
method to return the address of the remote party on a socket connection.
Upvotes: 3