Thnx i think its a very simple and decent approach. I can use the same approach and later if i see any performance problem i may just chg the server impl. ----- Original Message ----- From: "Palm Dev Forum" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Friday, August 02, 2002 8:20 PM Subject: Re: socket connection on SymbolSPT1740
> We have a similar app. Our approach was to have the client create a socket > connection, the client sends it's request, the server processes it, returns > a reply and closes the socket. Also should all happen within a second or > two. > > To allow additional clients to "collide" with the first request, we setup > the server to "ACCEPT" up to five (or whatever number suits you) inbound > connections, however, we process them sequentially. So, sometimes a clients > request sits in the TCPIP stack on the server till all prior requests are > completed. The delays at the client during these times can then be several > seconds. But for us, this was tolerable. > -------------------------------------------------------------------- > Gary Gorsline > Easy Business Software > ========================== End of Message ========================== > > ----- Original Message ----- > From: "gaurav" <[EMAIL PROTECTED]> > To: "Palm Developer Forum" <[EMAIL PROTECTED]> > Cc: "symbol-dev-forum" <[EMAIL PROTECTED]> > Sent: Friday, August 02, 2002 10:07 AM > Subject: socket connection on SymbolSPT1740 > > > > Hi people, > > I m trying to write an client-server application. My client application > > will be on Symbol SPT 1740 and they will be > > connecting to the server wirelessly. The server will be connected to > Access > > Point. > > > > In my app many clients will be connecting to the server simaltaneously. So > > is it a good idea to keep socket connections open on the Symbol device > > persistently. Does it anyway overload the Access Point. I am expecting > > atleat 50-60 connections at a given time. Or i should use a different > > approach and whenever i need to send data i should create the > > socket,connect to the > > server and after sending the data close the connection. > > > > I just want to know which approach would be better. > > > > > > -- > > For information on using the Palm Developer Forums, or to unsubscribe, > please see http://www.palmos.com/dev/support/forums/ > > > > > > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
