I hope so, because I would like to develop an in house iphone app that our users can use to query our database for prices/quantity available and sadly Apple only allows socket access to the closed iphone OS.
If anyone has a pick server socket solution they would like to share I'd appriciate it (answering requests and spawning a program to handle each incoming request) otherwise I may go the route of moving the socket server to the OS (using init.d to handle incoming requests and to spawn a program to handle each request). But I think I am getting close (to getting a working non blocking pick socket server) and if I get it to work I'll post what I have to the web site. dougc -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of phil walker Sent: Monday, April 13, 2009 5:36 PM To: [email protected] Subject: RE: [U2] universe sockets Maybe someone could put an example of this on the U2ug website, or Brian could include it in his training materials if he has not already so that people have an idea how to accomplish this ;-). > -----Original Message----- > From: [email protected] [mailto:owner-u2- > [email protected]] On Behalf Of Symeon Breen > Sent: Tuesday, 14 April 2009 9:30 a.m. > To: [email protected] > Subject: RE: [U2] universe sockets > > > We want to explore other connection options that are not tied to > > uniobjects so that if we decide to switch from universe to say > database > > "x" we can do so easier. > > > My only comment on this is don't go writing socket code just for this - > just > write a wrapper round the uniobjects code - so your code does not open > a > uniobjects connection and do read/write/select/run programs, it uses a > class > that you have written that in turn does this - pass a param to the > class > called DB and set it to "uv" - then when you want to switch to some > other DB > add the connectivity code to your class and away you go - basically you > are > building a DAL (Data access layer) upon which your BLL (business logic > layer) works - the bll does not care what the DB is or how it > communicates > that is the job of your DAL. > > Rgds > Symeon. > ------- > u2-users mailing list > [email protected] > To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/ ------- u2-users mailing list [email protected] To unsubscribe please visit http://listserver.u2ug.org/
