×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Nov 2008
    Posts
    13

    KErrDisconnected on SecureSocket Send

    Hello All,

    Why does a securesocket send fail with KErrDisconnected?

    I do the following:

    1. Create a SecureSocket
    2. Do ClentHandkshake.
    3. Send a Https Get request. - RunL gets called with iStatus: KErrDisconnected.

    Any pointers on the issue would be appreciated.

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

    Re: KErrDisconnected on SecureSocket Send

    Has the StartClientHandshake succeeded?

  3. #3
    Registered User
    Join Date
    Nov 2008
    Posts
    13

    Re: KErrDisconnected on SecureSocket Send

    Yes, StartClientHandshake succeeds and then when I send the packet, it fails with KErrDisconnected.

  4. #4
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: KErrDisconnected on SecureSocket Send

    What is on the server side? Can you check what happens there?

  5. #5
    Registered User
    Join Date
    Nov 2008
    Posts
    13

    Re: KErrDisconnected on SecureSocket Send

    Im trying to access a text file from the server. When I did packet capture, I could see the connection establishment and successful handshake, and then the connection is closed [the client's request packet never reaches the server].

    But I changed the code to use BSD sockets and OpenSSL, and was able send/receive data successfully.

    Thanks for ur suggestions wizard_hu_.

Similar Threads

  1. suckho, i have encontered the same problems. Could you tell me how you resolved it?
    By dicson_hu in forum Symbian Networking & Messaging (Closed)
    Replies: 4
    Last Post: 2005-12-09, 10:56
  2. GPRS connection problems on 6600..
    By suckho in forum Symbian Networking & Messaging (Closed)
    Replies: 10
    Last Post: 2005-12-02, 14:00
  3. Nokia 6600 Socket Server send delay Problem
    By dicson_hu in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2005-10-31, 07:37
  4. Replies: 3
    Last Post: 2005-07-22, 02:35
  5. Program exception in SDK 2.1 -> SMS Send() function
    By adayuen in forum General Messaging
    Replies: 0
    Last Post: 2002-09-25, 07:56

Posting Permissions

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