×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    2

    Post 2.0 SDK documentation Correction: SNAP-Mobile-URLs JAD parameter

    In Appendix A of the client package description in the 2.0 SNAP Mobile SDK Javadocs, there are errors regarding the specification of the SNAP-Mobile-URLs parameter. Below is a correction of that section:

    SNAP-Mobile-URLs: Necessary for establishing a connection to the Community server (the production server) or to the Development server. It specifies a comma-delimited list of one or more [protocol]:[host name]:[port] specifications, where the protocol is tcp or http (or both), and the port is a specified port for the protocol, typically 8976 for TCP and 80 for HTTP. Note that it is unnecessary to specify the HTTP default port of 80.

    Examples:
    1) Typical protocol and port setting. Tries TCP on port 8976 and then rolls over to HTTP on port 80 if TCP is unavailable.

    SNAP-Mobile-URLs: tcp://[host name]:8976, http://[host name]

    2) Use HTTP on the default port (80) only.

    SNAP-Mobile-URLs: http://[host name]

    3) Try HTTP on the default port (80) and roll over to TCP on port 8976 if HTTP is unavailable.

    SNAP-Mobile-URLs: http://[host name], tcp://[host name]:8976

    4) Try TCP on port 8976 and roll over to HTTP on port 8080 if TCP is unavailable.

    SNAP-Mobile-URLs: tcp://[host name]:8976, http://[host name]:8080

    (correction by: SDuke, SNAP Mobile SDK tech writer)
    Last edited by staceyduke; 2008-05-21 at 20:20. Reason: Forward slash after the [protocol][host name]:[port] or http://[host name] cause an error. So removed from these examples.

Similar Threads

  1. Replies: 0
    Last Post: 2004-03-17, 08:13
  2. Replies: 1
    Last Post: 2003-12-13, 11:17
  3. Series 60 Concept Emulator (SDK Beta 0.2 Linux) not working
    By mattbee in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2003-06-10, 11:43
  4. Series 60Series 60 MIDP Concept SDK Beta 0.2 Linux bug?
    By kauppi in forum Mobile Java Tools & SDKs
    Replies: 3
    Last Post: 2003-04-07, 09:05
  5. Http connection problem in 6310i
    By teahola in forum Mobile Java General
    Replies: 1
    Last Post: 2002-10-03, 18:46

Posting Permissions

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