HP3000-L Archives

September 2003, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Fri, 19 Sep 2003 09:02:32 -0500
Content-Type:
text/plain
Parts/Attachments:
text/plain (76 lines)
 If you'd like to write socket communication software I'd stronglyt suggest
to look at ACE framework: http://www.cs.wustl.edu/~schmidt/ACE.html. It runs
on Linux and many other platforms (except for HP3000 of course).


"Peter Osborne" <[log in to unmask]> wrote in message
news:Y4WcnXnsfveMZ_SiXTWJjg@fidnet.com...
> I recently (last week) wrote a simple socket listening program that runs
on
> Linux. It's multi threaded and supporting multiple simultaneous clients,
and
> performs SSL encryption on the data. It didn't take very long, I wrote it
in
> python using examples from the python documentation (www.python.org) as
well
> as the examples included with pyopenssl (pyopenssl.sourceforge.net). My
> listener provides 2 way asynchronous communication but it sounds like
yours
> is much simpler that that. You just need to write a program that has
Oracle
> ODBC will listen for requests from the HP.
>
> I also wrote my client in python so that won't help you at all much on the
> HP3000 side but you should be able to write a client in any language that
> supports sockets.
>
> Pete
>
> On September 18, 2003 11:05 am, Jay Chandru wrote:
> > Greetings,
> >
> > I am trying to establish a two way REAL TIME sync between HP3000 and
Linux.
> > Thought sockets would be the way to go if i am looking for something
real
> > time.
> >
> > I want to update the Oracle database sitting on the linux machine with
the
> > data from the HP3000 through sockets.
> >
> > I presume that we will need to have a Listener program in linux always
> > running. This program will listen for any requests which come through
the
> > socket (TCP). Once a request comes, the listener program will
appropriately
> > process the request.
> >
> > Have a few questions with regards to the above approach
> >
> > 1. Is the approach valid. Is there a better way to achieve this sync?
> > 2. If i am to write the listener program in linux, should i be using any
> > programming language to code the listener or can i use the linux
> > intrinsics. Please advice.
> >
> > If anybody has done this before, please share your thoughts.
> >
> > Any sample listener codes in linux would be of great help.
> >
> > Thanks in advance for your valuable time and response,
> > -Jay
> >
> > _________________________________________________________________
> > Get Married!  http://www.bharatmatrimony.com/cgi-bin/bmclicks1.cgi?74
> > Search from 7 lakh Brides & Grooms.
> >
> > * To join/leave the list, search archives, change list settings, *
> > * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
>

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2