Discussion Board

Results 1 to 4 of 4

Thread: SMS Filter

  1. #1
    Regular Contributor
    Join Date
    Oct 2009

    SMS Filter

    I use the following code to setup a socket to filter the receiving of SMS:

    TInt err = iReadSocket.Open(iReadServer, KSMSAddrFamily, KSockDatagram, KSMSDatagramProtocol);

    if (!err)
    TSmsAddr smsAddr;

    TInt bindErr = iReadSocket.Bind(smsAddr); //this line fails on some mobile phone.


    iReadSocket.Bind(smsAddr) fails on some mobile phone with error code -11. The document explains this error code as KErrAlreadyExsits. I don't know why.

  2. #2
    Super Contributor
    Join Date
    Mar 2004

    Re: SMS Filter

    is there any specific reason you want use sockets to receive normal SMS ?

  3. #3
    Regular Contributor
    Join Date
    Oct 2009

    Re: SMS Filter

    Quote Originally Posted by skumar_rao View Post
    is there any specific reason you want use sockets to receive normal SMS ?
    I need to filter the SMS receiving from some mobile numbers without system icon and voice notification.

  4. #4
    Nokia Developer Moderator
    Join Date
    Mar 2003

    Re: SMS Filter

    As the error indictaes the thing you are setting is already there, so make sure you close all of your stuff properly, so you wont be blocking any future runs of your own program, as well as, could indeed be that system or some other applciation is already having the socket receiving implemented.

Similar Threads

  1. Filter outgoing sms?
    By newbie2201 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2008-09-12, 05:37
  2. Need a PHP/HTML script which integrates with SDK and send sms
    By ramanladhani in forum Tools and SDK Feedback (Closed)
    Replies: 2
    Last Post: 2007-01-14, 11:56
  3. Replies: 1
    Last Post: 2005-12-02, 00:57
  4. Replies: 2
    Last Post: 2002-10-02, 07:15

Posting Permissions

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