×

Discussion Board

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

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

    Hi,

    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
    Location
    Bangalore , India
    Posts
    4,429

    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.
    http://wiki.forum.nokia.com/index.ph...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)

    Regards
    Gopal

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

    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.

    Thanks,
    Clive

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
  •  
×