What you may want to consider is let J handle
the low-level socket protocol with jsss/jssc, while
you instantiate J locally via DLL interface.
This will require synchronizing as only one J
instance is possible. However, this will give you
a starting point. Then you may decide if to re-implement
it in C++.



----- Original Message ----
> From: Yuvaraj Athur Raghuvir <[EMAIL PROTECTED]>
> To: Programming forum <[email protected]>
> Sent: Monday, November 3, 2008 5:18:07 PM
> Subject: [Jprogramming] Data over the socket: J to C++
> 
> Hello,
> 
> Has anyone tried to send data over the socket from J to C++? I want to build
> a iterator in C++ that consumes data from J. The communication between the
> C++  & J is via sockets.
> 
> It is a simple database application that I want to build. I am using
> J/SQLite as the data base and running a multi-threaded client driver from
> C++. I have established basic socket communication. So far, I have not
> interpreted data that the server sends back.
> 
> I would like to extend this to results of queries. I am stuck on the low
> level details of transforming tables into data streams and interpreting the
> data stream back to a 2 D table in the C++ client.
> 
> Any suggestions on how to proceed?
> 
> Thanks,
> Yuva
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm



      
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to