Hi Chris,

You need to specify a few more params in order to connect to another
machine. 

(port;host;timeout;dodefine) conew 'jdbclient'

These are the examples found in  ~system\classes\cs\jssc.ijs .

NB. (1200;'localhost';30000;1) conew 'jdbclient'

NB. (1200;'192.168.1.3';30000;1) conew 'jdbclient'
NB. dodefine 0 - avoids defining covers


-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of christopher
collins
Sent: Friday, October 22, 2010 1:25 PM
To: [email protected]
Subject: [Jprogramming] JDB Client/Server example

The example at http://www.jsoftware.com/jwiki/JDB/ClientServer worked
fine for J6.02 (32bit) on Windows XP and Vista as long as the client
program and server program are both executed on the same machine.

Can this example execute on two machines, one being the client, the
other the server?

I glanced at the code, experimented a bit, but could not get the
example to work in two machine client-server setup.

Thanks for any help.

--chris--
----------------------------------------------------------------------
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