Another question - is that data stream a continuous one or just some
fixed portion of data retrieved now and them?

In latter case try to use something else to retrieve the data and then
pass it to your program. Firstly try to connect to 192.168.0.2:800 in
RAW mode - use something like Putty. And you can automate it later
using plink from the same package.

On Jul 14, 4:47 pm, Brent Gillan <[email protected]> wrote:
> There is no protocol, just a raw data stream. No, I am not in a T24
> environment, custom software running on a HP-UX machine.
> I located an old post regarding SOCKET code.
>
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Gary Calvin <[email protected]>
> Date: Jul 13 2005, 3:10 pm
> Subject: TCP/IP Socket programming
> To: jBASE
>
> On that note, I have some C code that I'm willing to share. I have
> wrapped it in four jBC subroutines:
>     SUBROUTINE SOCKET_OPEN(sHostName, iPort, iSocketID, sResultCode)
>     SUBROUTINE SOCKET_READ(iSocketID, sReturnString, iNumChars,
> sResultCode)
>     SUBROUTINE SOCKET_WRITE(iSocketID, sSendString, sResultCode)
>     SUBROUTINE SOCKET_CLOSE(iSocketID, sResultCode)
>
> It'sTCP-only, and I guarantee that it is NOT as good as Jim's
> JBCSOCKS code. :-)
> ----------------------------
>
> On the next post he Gary said this "I've zipped them up, and I'm just
> about to put the package on the jBASE Shared Software Library"
>
> Does anyone have access to the library, or have a copy of this code?
>
> Thanks.
>
> On Jul 12, 9:10 am, VK <[email protected]> wrote:
> > Hi,
> > I afraid it's impossible to do it that way. Do you have some protocol
> > used there or it's just a raw data stream?
>
> > And - are you in T24-related environment or no (since if yes you can
> > use some other stuff from Temenos)?
>
> > VK
>
> > On Jul 8, 10:28 pm, Brent Gillan <[email protected]> wrote:
>
> > > Currently I have an application running on HP-UX that opens a serial
> > > connection (which is connected to a modem) as a sequential file using
> > > OPENSER and writes/reads to this using SEND and GET commands. This
> > > serial connection is being changed over to an IP based connection -
> > > IPSec VPN connection with a dedicated port. So lets say VPN connection
> > > has a dedicated ip address 192.168.0.2 and the port is 800. Is there
> > > anyway to open this directly using the OPENDEV or OPENSER commands?
> > > What I would like to do is...
> > > OPENDEV "192.168.0.2:800" TO IP.PORT
> > > and then be able to do
> > > READSEQ Data FROM IP.PORT
> > > Anyone know if this is possible?- Hide quoted text -
>
> > - Show quoted text -

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to