I have used the socket API in UniVerse without encountering serious issues - it's all raw stuff (accept/read/write). Also you cannot fork, so you're limited to one listener per port, which may be an issue.
Unless you have a clear reason not to, interfacing with UniVerse or UniData is really best done using UniObjects: either from Windows using the UniObjects COM classes, or from UNIX using the Java implementation. It is fast, reliable and takes out the stresses of managing your own protocol. I've also found it quicker than using the socket interface, though that may be down to the way I've chosen to implement it: I'm just completing a SOAP gateway to allow me to expose BASIC subroutines as web services, and this offers a choice of UniObjects or talking to a BASIC socket server (the aim being to port the latter to other MVDBMSs once the Uni* version is complete), and the UniObjects connection is much the quicker of the two: not surprisingly since the other means having to encode/decode packets in BASIC. Brian -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: 15 September 2004 02:30 To: u2-users Subject: I need to write a client server application with the server doing things in Unibasic. I have IBM's Unidata UniBasic Extentions manual, which has a chapter on the Unibasic Socket API. It gives the bare basics, but it leaves a lot to be desired, and I have even found errors. I'm interested if anyone has written a server using this API, and, if so, what were your experiences? Will it work OK running Unidata on WIN, and does it act the same on WIN and in unix? Anything to avoid? And is there any better documentation available???? Thanks in advance. ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/ ________________________________________________________________________ This email was checked by MessageLabs SkyScan before entering Microgen. ________________________________________________________________________ This email was checked on leaving Microgen for viruses, similar malicious code and inappropriate content by MessageLabs SkyScan. DISCLAIMER This email and any attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information. In the event of any technical difficulty with this email, please contact the sender or [EMAIL PROTECTED] Microgen Information Management Solutions http://www.microgen.co.uk ------- u2-users mailing list [EMAIL PROTECTED] To unsubscribe please visit http://listserver.u2ug.org/
