Hai Friends,

Iam using gprs connection for my project, i want to send message from pc server to my mobile client by UDP connection,
how can i do? how can i get ip for mobile gprs connection? please help me for this problem

You mean after successfully establishing a gprs connection, right ?
Are you using Nokia *** or ?

Try the following codes:
1.
ServerSocketConnection scn = (ServerSocketConnection)Connector.open("socket://:1234");
System.out.println(scn.getLocalAddress());

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.