C Erlang algorithm

David Schere david_schere@REDACTED
Thu Oct 14 03:12:47 CEST 1999


Is this the correct algorithm for making erlang calls
using the erlang interface API ?

Assume that no erlang process is running.
The hostname is www.foo.com


/* must be called before anything else */
erl_init( NULL, 0 );

/* initialize ystem */
erl_start_sys("theFoo","www.foo.com",0,NULL,NULL);

fd = erl_connect("theFoo@REDACTED");

/*
At some time T in the future 
 */

eterm = erl_rpc(fd,"erlang","time", erl_format("[]")
);


.
.
.
.


/* disconnect when done */


I keep on getting a timeout when calling 
'erl_start_sys'. 


Can anybody give me an example ??

Thanks



=====

__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com



More information about the erlang-questions mailing list