Discussion Board

Results 1 to 2 of 2

Thread: Lack of sockets

  1. #1
    Registered User wanzelbin's Avatar
    Join Date
    Mar 2003
    Posts
    4
    I wondered if anyone could explain to me WHY phones such as the 6310i don't support raw TCP sockets. I've seen posts saying that it can't comprehend the TCP stack, but surely we can program that ourselves? WAP goes through to the micro-browser or connection manager as a binary stream which is then translated - why not TCP? WAP even uses an IP address on the phone, so it must have something in common with the TCP/IP stack! GSM/GPRS obviously is capable of carrying the data, as some phones DO support sockets. I've looked into the cldc code and there seem to be areas where native code could be implemented, presumably to do the job of interpreting the stack. Any ideas at all would be really appreciated.

  2. #2
    Regular Contributor pbergius's Avatar
    Join Date
    Mar 2003
    Location
    Irving, Texas, USA
    Posts
    419
    Hello,

    The simple reason for lack of sockets is that they are an optional feature in CLDC. Nokia has decided to implement only the mandatory parts of the spec. HttpConnection is the only implented network protocol.

    Regards,

    Petteri / Forum Nokia

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