×

Discussion Board

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

    connection to internet from 9210i.

    Hello,

    can somebody show me how to connect to Internet?
    I tried smth like this:
    HttpURLConnection conn = null;
    conn = HttpURLConnection ("http://server/file");

    but when i want to compile the app i get:

    .\source\internet.java:61: Method HttpURLConnection(java.lang.String) not found in class com.symbian.devnet.crystal.internet.
    conn = HttpURLConnection ("http://server/file");

    1 error

    TIA,
    p.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    10

    RE: connection to internet from 9210i.

    Hi

    Try to use:
    Socket thesocket = new Socket("http://server",80);
    InetAddress host = thesocket.getInetAddress();


    Best Regards

    Maciek

Posting Permissions

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