Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User alesud76's Avatar
    Join Date
    Jun 2003
    Posts
    9
    Hi all,
    I have tryed to open socket connection on my nokia 7650 and the result are very intresting:

    conn = (StreamConnection)Connector.open(socket://localhost:8080)
    Work fine, the connection are handled correctly by the 7650 and by localhost.

    conn.write("bla bla bla")
    work fine, my server recive all blabla..

    conn.read()
    not read, not error but not read.

    the same midlet on other java mobile (!nokia mobile) work correctly.

    Now the question are Why, why i can establish a socket connection, i can write over this, bun not able to recive???

    We have any idea??

    Ciao, sorry for my english,

    Alessio.

  2. #2
    Registered User nstamps's Avatar
    Join Date
    Mar 2003
    Posts
    41
    There seems to be a problem with reading and writing on the same socket on the 7650. Unfortunately if you require 2 way communication - open up 2 sockets, one dedicated to read one to write.

  3. #3
    Registered User alesud76's Avatar
    Join Date
    Jun 2003
    Posts
    9
    I,ve try, but my 7650 don't read over socket connection.

    For me this is a mistake because i have see a IM client tipicME that probably use a socket connection.

    http://www.tipic.com

    By Alessio.

  4. #4
    Regular Contributor j2me_raj's Avatar
    Join Date
    Mar 2003
    Location
    Hyderabad
    Posts
    181
    Hi please give me successful code.............for connecting to sockets....
    thanks in advance
    rajsekhar@valuelabs.net

  5. #5
    Registered User jhol's Avatar
    Join Date
    Jul 2003
    Posts
    1
    Are we sure if nokia 7650 supports socket connection?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved