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