Hi Carlos,
I suspect your server is configured to only accept one connection at a time.
This is often the case for sharware FTP servers, and might be what you're
seeing.
Regards,
Peter Easton
Palm Developer Support
DCU wrote:
> Rus,
>
> Thank you for your response. The error on the server side is "the previous
> socket closed abruptly". To disconnect I am using the following code:
>
> =================================================================
> short SocketCloseErr;
> int error;
>
> error = NetLibSocketClose (NetLibOpenRef,theSocket,-1,&SocketCloseErr);
> if(error != 0)
> {
> return SocketCloseErr;
> }
>
> theSocket = NULL;
> return 0;
> =================================================================
> Thanks,
>
> Carlos
>
> ----- Original Message -----
> From: Nesse, Rustin <[EMAIL PROTECTED]>
> To: Palm Developer Forum <[EMAIL PROTECTED]>
> Sent: Thursday, August 10, 2000 3:16 PM
> Subject: RE: Multiple TCP connects
>
> > Are you using any kind of time/connection sharing code at all?
> > You might have better luck posting this question to the Symbol
> > forum...it appears to be quiet, but there are guys from Symbol
> > that browse through that list/group.
> >
> > What it looks like is that your app is just taking control of
> > a connection and not timeouting on it at all. It also could
> > be that the application is not disconnecting properly to allow
> > the other handheld to connect. There could be a number of things...
> >
> > -Rus
> >
> > >-----Original Message-----
> > >From: DCU [mailto:[EMAIL PROTECTED]]
> > >Sent: Thursday, August 10, 2000 10:40 AM
> > >To: Palm Developer Forum
> > >Subject: Multiple TCP connects
> > >
> > >
> > >Hello Everyone;
> > >
> > >My name is Carlos and I'm currently working on a wireless
> > >application using
> > >the Symbol spt1740.
> > >
> > >My problem is:
> > >
> > >1) we have a server app that sits and waits for ip connects,
> > >when it gets
> > >one it creates a thread and dispatches the
> > > connect call.
> > > When using a single handheld, everything works fine, but
> > >when more than
> > >one handheld is used, then I get a
> > > "source closed socket abruptly!" from the server....
> > >
> > >2) The handheld unit opens a single port and connects a
> > >socket to it and
> > >starts the connection with the server.
> > >
> > >Question:
> > >
> > >1) What I'm missing,
> > >2) Does anybody have similar problems....
> > >3) What is needed to have more than one handheld talk to a
> > >server ALA
> > >telnet or ftp....
> > >
> > >Thank you for your help, any and all will be greatly appreciated...
> > >
> > >Regards,
> > >
> > >L. Carlos Rodriguez
> > >Data Collections Unlimited, LLC.
> > >
> > >
> > >
> > >
> > >--
> > >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 Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
> >
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/