Discussion Board

Results 1 to 3 of 3
  1. #1
    Regular Contributor
    Join Date
    Jul 2005

    Symbian OS Error in Connector.open(..) for SocketConnection


    String url = "[host]:19955";
    sc = (SocketConnection)Connector.open("socket://" + url, Connector.READ_WRITE);

    this line throws a java.io.IOException with message : Symbian OS Error = -34

    my phone is 6630

    why can it be ?

    it runs well in the emulator...

  2. #2
    Super Contributor
    Join Date
    Nov 2003
    Bangalore , India

    Re: Symbian OS Error in Connector.open(..) for SocketConnection

    Symbian OS Error = -34 means KErrCouldNotConnect - Failed to connect

    Is your app Signed? Did your app request some permission messages ? If so you have to allow those permission messages.
    Here is the list of Symbian OS Error codes.

    Also please make sure that your device does have proper GPRS settings and its activated with your operator.(Make sure you can browse internet with the default browser of the phone)


  3. #3
    Registered User
    Join Date
    Apr 2007
    Oxon/ Staffs

    Re: Symbian OS Error in Connector.open(..) for SocketConnection

    I had this same error but had to leave the code due to project time constraints. Could you elaborate more on signing and how it should be approached when using sockets and which certificate is best.


Similar Threads

  1. Symbian C++ or MDIP: some newbie questions
    By sgalmeida in forum Symbian
    Replies: 2
    Last Post: 2006-12-30, 08:57
  2. Oracle Database Lite 10g Available for Symbian OS Phones
    By chirag_cel in forum News and Announcements
    Replies: 2
    Last Post: 2006-12-11, 07:00
  3. Please release installable D_EXC for Symbian 9!
    By perrett in forum Tools and SDK Feedback (Closed)
    Replies: 0
    Last Post: 2006-05-10, 09:51
  4. Replies: 2
    Last Post: 2003-08-19, 16:39
  5. setting of Series 60 MIDP SDK for Symbian OS version 1.2 for networking
    By servigo in forum Mobile Java Networking & Messaging & Security
    Replies: 2
    Last Post: 2003-07-31, 07:47

Posting Permissions

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