×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    5

    opening a socket connection help

    Hello,
    I'm using the series-60 beta emulator, and I'm trying to open a socket to a server I have. I'm using the following code:
    StreamConnection myConnection = (StreamConnection)Connector.open("socket://serverAddress:serverPort"

    When I run it I get the following exception:
    javax.microedition.io.ConnectionNotFoundException: The requested protocol does not exist socket://serverAddress:serverPort

    This code runs fine on WTK 1.04, so... what can I do?
    Thanks,
    Zohar.

  2. #2
    Nokia Developer Expert
    Join Date
    Mar 2003
    Posts
    382

    RE: opening a socket connection help

    Hello

    According MIDP 1.0, the Only connection that have to be supported is Http connection, in Nokia S60 devices sockets are not supported.

Posting Permissions

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