I am assuming that you are using the NetLib and called NetLibOpen? If so, make sure you close any sockets with NetLibSocketClose and than you should be able to call just NetLibClose(refnum, true);
Regards, Donald Kirker "Guilherme C. Hazan" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I have a Zire 72 sending data through IR to a Nokia 7250i. After i'm > finished with the call, i want to disconnect. I try this approach: > > do > { > err2 = NetLibClose(refnum,true); > if (err == -999) err = err2; // save the first error only > } while (err2 != netErrNotOpen); > NetLibFinishCloseWait(refnum); > > I had tried the simple approach, but it doesnt works either. > > Any clues here? Do i have to send any special command to the IR to > disconnect? > > many thanks > > guich > > > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
