×

Discussion Board

Results 1 to 4 of 4

Thread: Sms with socket

  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    47

    Sms with socket

    Hi,all.
    I want to listen the sms with socket. But I get an error code with -11 when I binding the socket to the sms port.
    I have read the thread discussing in this error code, it seams that the os have binded the sms port.
    And I want to know is there any way else which can be used to listen the sms with socket?
    Hope the solvent.

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,672

    Re: Sms with socket

    Negative numbers: http://wiki.forum.nokia.com/index.php/Error_codes
    It is true that you can not listen for all SMS-s on a port, because the OS does it. However you can listen for SMS-s starting with a specified character sequence, check SMS Utilities API from the plugin packs (http://wiki.forum.nokia.com/index.php/SDK_API_Plug-in)
    Last edited by wizard_hu_; 2008-12-27 at 18:52. Reason: Pasted the Error codes-link twice...

  3. #3
    Registered User
    Join Date
    Mar 2006
    Location
    India
    Posts
    503

    Re: Sms with socket

    Regards
    Kamal :)
    ------------------
    You never expect what expects you.

  4. #4
    Registered User
    Join Date
    Nov 2008
    Posts
    47

    Re: Sms with socket

    Hi,
    yes, it works.

    I mean just the program works. But it doesn't call the RunL() function when I reveive a new sms.

    I think that the port which binded with the socket is not correct.

    If so, how can I get the correct port?

    thanks.

Similar Threads

  1. Undetected SMS
    By ssn.kishore in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2008-10-01, 12:24
  2. Opening SMS that sended by Socket
    By Dvirus in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2008-09-03, 13:19
  3. Getting Problem sending SMS second time.
    By sagar.pune in forum Symbian
    Replies: 4
    Last Post: 2008-05-29, 14:10
  4. SMS via socket issue.
    By Svat_ in forum Symbian
    Replies: 14
    Last Post: 2007-11-24, 00:36
  5. SMS thru socket (s60 v2)
    By alexhello123 in forum Symbian
    Replies: 0
    Last Post: 2004-12-03, 14:54

Posting Permissions

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