×

Discussion Board

Results 1 to 6 of 6

Thread: socket error

  1. #1
    Registered User
    Join Date
    Nov 2007
    Posts
    3

    Question socket error

    I´m writting a client program using tcp/ip sockets and i´m getting an error -21 when the socket tries to connect with the server program. Do anybody have an idea of what is happening? I'm writing the program in Symbian C++ for a Nokia N91. do anybody have an example program?

  2. #2
    Regular Contributor
    Join Date
    Jun 2008
    Location
    Tianjin
    Posts
    156

    Re: socket error

    Did you see the SDK example \S60Ex\SIPExample\socketengine\?
    anson_zhao

  3. #3
    Super Contributor
    Join Date
    Jun 2005
    Location
    Berlin
    Posts
    721

    Re: socket error

    KErrAccessDenied -21 Access denied

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: socket error

    Have you added NetworkServices capability?

  5. #5
    Registered User
    Join Date
    Jun 2008
    Location
    beauty
    Posts
    11

    Re: socket error

    that's right, check the capability in mmp file please
    As heaven maintains vigor through movements, a gentle man should constantly strive for self-perfection.

  6. #6
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Budapest, Hungary
    Posts
    28,572

    Re: socket error

    Cheney, check the dates before posting. 2 weeks and 8 hours has passed since that suggestion.

Similar Threads

  1. CPbkContactEditorDlg customize
    By asdfghjkl_asdfghjkl in forum Symbian
    Replies: 5
    Last Post: 2008-08-05, 02:56
  2. Help with lnk2019 lnk1120 error
    By yuenfatt in forum Symbian
    Replies: 8
    Last Post: 2007-08-24, 08:21
  3. Parsing file content
    By hendrawan.ashari in forum Symbian
    Replies: 7
    Last Post: 2007-03-09, 10:41
  4. Cannot compile SDK's examples for 7650 platform...
    By midletsoft in forum Symbian Tools & SDKs
    Replies: 2
    Last Post: 2003-08-12, 19:11
  5. how to avoid linking error
    By skdas in forum Symbian
    Replies: 6
    Last Post: 2003-07-07, 07:57

Posting Permissions

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