×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    37

    About gprs connection

    Hi all! I'm beginner in the Symbian C++ world, but I has studied this a lot. I'm researchin about network program and I have any questions about sockets and GPRS.

    1-)GPRS supports the class Socket(Can I make connect,bind,listen,send,etc...)?
    2-)If my device isn't attached to any network,when I make the connect() comand, my device is crash(or any similar behavior) or is will be showed any dialog requering the type of connection?

    Sorry my bad english. See you later!

  2. #2
    Super Contributor
    Join Date
    Jul 2007
    Location
    ShenZhen, China
    Posts
    4,346

    Re: About gprs connection

    1. in symbian, normal socket api is RSocket, it is like unix socket, but is async.
    2. and symbian support unix socket by openc plugin.
    3. if you use rsocket, when connect, system will show you iap select dialog, if you cancel, you will get KErrCancel code.
    you can start with sdk example
    \Symbian\8.0a\S60_2nd_FP2_CW\Series60Ex\sockets
    ----------------------------
    坚持学习, 坚持编码
    http://www.devdiv.net/
    qxiaoyuan

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    37

    Re: About gprs connection

    Ok. Thanks for reply. But, I want to know if can I use the symbian types of data like RSocketServ,RSocket,TSockAddr,TInetAddr,etc in gprs networks?

    "in symbian, normal socket api is RSocket, it is like unix socket, but is async."
    What is async?

    Thak's for help me. See you later!

  4. #4
    Super Contributor
    Join Date
    Mar 2008
    Posts
    1,481

    Re: About gprs connection

    Async -> Asynchronous

  5. #5
    Nokia Developer Expert
    Join Date
    Jun 2008
    Posts
    333

    Re: About gprs connection

    RSocketServ,RSocket,TSockAddr,TInetAddr all can be used on GPRS/3g connection.

  6. #6
    Nokia Developer Expert
    Join Date
    Jun 2008
    Posts
    333

    Re: About gprs connection

    connect()will prompt a dialog which will let you to choose the access point,if there is no working access point, your application will get a error/leave message.

  7. #7
    Registered User
    Join Date
    Sep 2008
    Posts
    37

    Thumbs up Re: About gprs connection

    Ok! Thank's for answers one more time!

Similar Threads

  1. how to check gprs connection +j2me?
    By mrrajesh_1982 in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2006-10-26, 23:41
  2. how to check gprs connection +j2me?
    By mrrajesh_1982 in forum Mobile Java General
    Replies: 1
    Last Post: 2006-10-25, 10:23
  3. GPRS connection help please!
    By bevered in forum General Development Questions
    Replies: 0
    Last Post: 2005-03-08, 12:25
  4. http connection / gprs
    By DaneelGiskard in forum Mobile Java General
    Replies: 1
    Last Post: 2002-06-16, 08:30

Posting Permissions

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