×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    May 2006
    Posts
    123

    Thumbs up connecting two phones using IP address(peer to peer)

    Hi friends,
    I want to communicate two phones using IP address its should be Peer to peer connection..no server in between.I can get IP address of two mobiles..iam using sockets...i tried to connect but..but i cant get connected ...what would be the porblem ..let me know some soultion..

  2. #2
    Super Contributor
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    9,558

    Re: connecting two phones using IP address(peer to peer)

    You have several problems to overcome here:

    1: Most network operators do not assign public IP addresses to phones (some might, and some might only if you use a special access point)

    2: Even if both phones would have a public IP address, the operator might block inbound connection attempts.

    3: Even if also that happened to work, the phones wouldn't have DNS names, and you'd have hard time finding the other phone, unless you used some out-of-band mechanism to exchange IP addresses first (or implemented one of these Dynamic DNS schemes that exist).

    4: Even if all that would work, it might only work between phones on a specific or certain specific networks, and you wouldn't be able to come up with a universal/global solution.

    That's - in essence - why you need a central hub/server to go through (and optionally also solutions like IPv6, SIP).

  3. #3
    Registered User
    Join Date
    Mar 2003
    Location
    Finland
    Posts
    27

    Re: connecting two phones using IP address(peer to peer)

    Hi sumanthgwn,

    Petrib is right, but you can solve your problem by using "IP exchange server" where you can see phone public IP and port and then exchange this information between phones.

    Have you checked Nokia Mobile Web server application?
    http://mymobilesite.net/
    http://research.nokia.com/research/p...le-web-server/

    and here is big picture what I think you are trying to do??
    http://opensource.nokia.com/projects/mobile-web-server/

    But any way if you use mobile web server then you can easily assign DNS address to mobile phone.

    --L

Similar Threads

  1. Problem connecting to multiple access points on 3G phones
    By yjforgod in forum Symbian Networking & Messaging (Closed)
    Replies: 2
    Last Post: 2006-03-30, 14:12
  2. Storing my data on memory card on Series 40 phones
    By Sammybar in forum Mobile Java General
    Replies: 1
    Last Post: 2005-12-28, 17:40
  3. Pop-Port of Nokia phones
    By HazemRady in forum General Development Questions
    Replies: 0
    Last Post: 2005-10-24, 22:33
  4. some phones don't receive sms sent with a java app
    By andrei.serea in forum General Messaging
    Replies: 0
    Last Post: 2005-09-22, 09:50

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×