I agree, with Jeff, but I found debugging in device easier [because it worked for me immediately !] that setting up a PPP connection in PC and configuring emulator. But again, I remember some non-blocking socket calls behaving differently in emulators and devices.
Jagat _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeff Loucks Sent: Friday, March 02, 2007 12:45 PM To: Palm Developer Forum Subject: Re: Netlib socket dat read problem second time Did you get your app fixed? I think you replied that it works on the real device, but not the emulator or simulator. That is true for socket notices, because notices are implemented in NetLib, which is mostly bypassed on the emulator. If you want to utilize all the functionality of NetLib on the emulator, do not use 'Redirect NetLib calls to host TCP/IP'. Instead, use native NetLib and configure a PPP connection through a serial port to a PC configured to host a PPP connection. This gives you a realistic connection with all the 'features' of NetLib, and gives you the opportunity to carefully control the network environment of your test. On 2/22/07, Durgesh Trivedi <[EMAIL PROTECTED]> wrote: I m developing a client application in which what i m doing is to connect with the server which is a PC and after connection continuous read the data from the socket the data which send by the server i m able to read the data only once after my login is conform on the server but what i want is to continuous read the data from the socket when ever the server send data , without reconnected(make connection again and again what i m doing right now ) it every time with the server I go through lots of code in the forum but i didn't get the proper solution for that So where do i add my code so it can read data when ever their is data send by sever in the socket i connected with the server .without making connection again and again or checking socket explicitly for the data so than i start the reading The way i want is if their is data its prompt me so than i read it And some snap shot of code or some link will more help full to me and i already go through the lots of code in the forum but i didn't get the proper things done what i want. Thanks in advance -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- [Jeff Loucks] -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/ -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
