Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User gizyy's Avatar
    Join Date
    Oct 2009
    Posts
    11
    Hello all,

    I am doing a final year project and i will make a peer to peer mobile application, but at first, as an example, I am planning to do an application like classic "ping-pong". I have no experience on mobile connections, so maybe my question is strange. In ping pong application, one of the phones will be server and the other one will be client, i will use sockets, so i need a normal socket connection and a server socket connection. And my client phone will connect to server phone and send "ping" message , after that my server phone reply to my client with "pong" message. But i need ip address of my server phone so how can i reach the ip of my server phone, or else how can i connect my server? In forums i have read that its impossible, because providers dont let it. If you have an idea please share.... Thank you !

  2. #2
    Super Contributor grahamhughes's Avatar
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,394
    You'll need to re-think. Either connect both phones to a server (say, a web server), or use bluetooth for the connection. Your phone does not have a public IP address, you cannot connect to a ServerSocketConnection from another device. ServerSocketConnections are only used for interprocess communication, which is why they are only supported on devices with multitasking operating systems.

    Graham.

Similar Threads

  1. XML onLoad with background http server problem
    By simonjuric in forum [Archived] Flash Lite on Nokia Devices
    Replies: 5
    Last Post: 2009-06-08, 16:47
  2. Replies: 4
    Last Post: 2008-11-27, 20:21
  3. Local IP address (emulator/mobile phone)
    By machiel in forum Wired and Wireless interfaces (Closed)
    Replies: 1
    Last Post: 2008-05-26, 18:57
  4. Socket problem: Only nokia's phones got errors
    By n0cturnal in forum Mobile Java Networking & Messaging & Security
    Replies: 11
    Last Post: 2008-01-11, 10:32
  5. TCP server packet receiving problem
    By raj_rr7 in forum Symbian Networking & Messaging (Closed)
    Replies: 9
    Last Post: 2007-07-12, 12:24

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved