If You speak about FTP-protokoll, you must know, that for each file you transfer a new PORT-address is needed. See RFC 959.
Labhesh Patel schrieb: > Hi, > > I have a problem while opening a connection multiple number of times > using Berkeley sockets in my application on Palm V with OmniSky. > I am using the Net Library functions for this. The program works the first > time - the program communicates in sessions, in each session I open a > socket and recieve data and then closes the socket, i do it three times in > each session, and the socket opens and closes successfully. > > However if I close the application and open it again, the socket fails to > open. All subsequent attempts to open a socket and connect to an IP address > fails, till I delete the app and reinstall it. > > I have traced out all places where the socket is opened and a matching > close socket is found. > > The same program works fine on the Palm Emulator, but it fails on the actual > device. > > Any help would be greatly appreciated. > > bye > Labhesh > > PS. Is there a way to debug network call on actual device. > _________________________________________________________________________ > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. > > Share information about yourself, create your own public profile at > http://profiles.msn.com. > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please > see http://www.palmos.com/dev/tech/support/forums/ -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
