• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..13-Apr-2021-

MakefileH A D13-Apr-20212 KiB9131

ReadMeH A D13-Apr-20211.1 KiB4621

callbacks.cH A D13-Apr-20211.1 KiB4714

client.cH A D13-Apr-20213 KiB12671

client.erlH A D13-Apr-20211.2 KiB469

random.idlH A D13-Apr-2021966 5127

server.cH A D13-Apr-20215.7 KiB247148

ReadMe

1This is a short description on the use of the client demo,
2a client that initiates and uses a random number generator
3that lies on a C-server.
4
5Instructions.
6
71) Modify the OTPROOT variable on the Makefile to point
8   to the root for your erlang instalation.
9   Modify IC and Erl_Interface versions to agree your
10   OTP version.
11
122)
13    Type :
14    ------
15
16    make                                ( generates and compiles all code )
17
18    server                              ( starts the c-server )
19
20
21    To test the c-client against the c-server start a new terminal window and type :
22    --------------------------------------------------------------------------------
23
24    client                              ( calls the server )
25
26
27    To test the erlang-client against the c-server start a new terminal window and type :
28    -------------------------------------------------------------------------------------
29
30
31    erl -sname client -setcookie flash  ( start erlang )
32
33    client:init(1,2,3).                 ( initiates the random generator )
34
35    client:produce().                   ( calls the random generator )
36
37
38
39
40
41
42
43
44
45
46