Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2003

    Difference between RConnection::Start and ::Attach?

    What is the difference between RConnection::Start and RConnection::Attach? If there already is a GPRS connection I use Attach to connect to the existing connection, but then I tried calling Start and that worked also. Why would you ever need to call Attach?

    One RConnection variable can have only one connection. How can I determine is the RConnection variable already connected? If I call Start (or Attach) second time to the RConnection variable, I get KErrAlreadyExists. This wouldn't be a problem except that the connection is terminated with this error.

    Anybody know what subconnections are? When I open a connection with RConnection and the go through active connections, I get one connection and that connection has one subconnection. What is that subconnection? Can there be more than one subconnection?

    If you can help me out with any of these questions, I'd really appreciate it. Thank you.

  2. #2
    Regular Contributor
    Join Date
    Jul 2007

    Re: Difference between RConnection::Start and ::Attach?

    Hi! I have same questions! Exactly same please, help me!

  3. #3
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: Difference between RConnection::Start and ::Attach?

    I do not know what sub-connections are, but RConnection::Attach is documented pretty well in nowadays SDK Helps (I do not know what was the status in 2005). Think of IPC context if you have doubts.

Posting Permissions

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