load'labs/labs'

lab'~addons/net/jcs/jcs.ijt'

ctrl+j advances

1 of 63 in ~addons/net/jcs/jcs.ijt

jcs is built with zmq


zmq is an api built on top of sockets


zmq is available across platforms and removes most of the mundane and

critical chores in building a solid, high-performance, scalable server


zmq resources at: www.zeromq.org

get an overview: zguide.zeromq.org/page:all

zmq install info: zeromq.org/intro:get-the-software

require'~addons/net/jcs/jcs.ijs'

version_jcs_'' NB. zmq version - error if problems with zmq installation

4 0 4

port=: 65201 NB. use this port

killp_jcs_ port NB. kill any previous use of this port

c=: jcst port NB. create server task and client

run__c'i.2 3' NB. run sentence on server

0 1 2

3 4 5

run__c'2+a.'

|server error: assert

| 'server error' assert 0


   JVERSION

Engine: j806/j64nonavx/windows

Release: commercial/2017-11-06T10:01:33

Library: 8.06.09

Qt IDE: 1.6.1/5.6.3

Platform: Win 64

Installer: J806 install

InstallPath: c:/users/bjorn/j64-806

Contact: www.jsoftware.com


2017-10-17 16:08 GMT+00:00 Eric Iverson <[email protected]>:

> The net/zmq and net/jcs have been updated. Many small changes, more robust,
> and better logging of problems.
>
> If you are interested in sockets/clients/servers this is worth some time.
>
> Info from the original announcement is repeated here.
>
> ***
> The zmq addon has bindings between J and the zmq shared library.
>
> The jcs addon has J client/server tools built on the zmq request/reply
> pattern.
>
> These addons make it much easier and with far less code to provide
> high-performance, robust, and scalable socket services.
>
> Start with 806-beta-6 installed from the latest zip packages. Then be sure
> you have the  latest base library and the net/zmq and net/jcs addons
> installed.
>
> An easy way to get started is to run the jcs lab.
>
> start J
>    load'labs/labs'
>    lab'~addons/net/jcs/jcs.ijt'
> step through the lab
>
> The lab will let you know if you need to install zmq and where to look for
> info.
>
> Sharing zmq install hints in the forum could save others some trouble.
>
> ***
> Among other things, jcs makes it easy to start other J tasks and to use
> them as servers. The lab includes a simple example of starting multiple J
> tasks to service a queue of jobs.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm




-- 
Björn Helgason, Verkfræðingur
Fornustekkum II
781 Hornafirði,
t-póst: [email protected]
gsm: +3546985532
twitter: @flugfiskur
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
          /|_      .-----------------------------------.
         ,'  .\  /  | Með léttri lund verður        |
     ,--'    _,'   | Dagurinn í dag                     |
    /       /       | Enn betri en gærdagurinn  |
   (   -.  |        `-----------------------------------'
   |     ) |         (\_ _/)
  (`-.  '--.)       (='.'=)   ♖♘♗♕♔♙
   `. )----'        (")_(") ☃☠
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to