[Erlang Systems]

ei_connect

C LIBRARY

C LIBRARY SUMMARY

DESCRIPTION

Timeout functions

EXPORTS

int ei_connect_init(ei_cnode* ec, const char* this_node_name, const char *cookie, short creation)
int ei_connect_xinit(ei_cnode* ec, const char *thishostname, const char *thisalivename, const char *thisnodename, Erl_IpAddr thisipaddr, const char *cookie, short creation)

int ei_connect(ei_cnode* ec, char *nodename)
int ei_xconnect(ei_cnode* ec, Erl_IpAddr adr, char *alivename)

int ei_connect_tmo(ei_cnode* ec, char *nodename, unsigned timeout_ms)
int ei_xconnect_tmo(ei_cnode* ec, Erl_IpAddr adr, char *alivename, unsigned timeout_ms)

int ei_receive(int fd, unsigned char* bufp, int bufsize)

int ei_receive_tmo(int fd, unsigned char* bufp, int bufsize, unsigned timeout_ms)

int ei_receive_msg(int fd, erlang_msg* msg, ei_x_buff* x)
int ei_xreceive_msg(int fd, erlang_msg* msg, ei_x_buff* x)

int ei_receive_msg_tmo(int fd, erlang_msg* msg, ei_x_buff* x, unsigned imeout_ms)
int ei_xreceive_msg_tmo(int fd, erlang_msg* msg, ei_x_buff* x, unsigned timeout_ms)

int ei_receive_encoded(int fd, char **mbufp, int *bufsz, erlang_msg *msg, int *msglen)

int ei_receive_encoded_tmo(int fd, char **mbufp, int *bufsz, erlang_msg *msg, int *msglen, unsigned timeout_ms)

int ei_send(int fd, erlang_pid* to, char* buf, int len)

int ei_send_tmo(int fd, erlang_pid* to, char* buf, int len, unsigned timeout_ms)

int ei_send_encoded(int fd, erlang_pid* to, char* buf, int len)

int ei_send_encoded_tmo(int fd, erlang_pid* to, char* buf, int len, unsigned timeout_ms)

int ei_reg_send(ei_cnode* ec, int fd, char* server_name, char* buf, int len)

int ei_reg_send_tmo(ei_cnode* ec, int fd, char* server_name, char* buf, int len, unsigned timeout_ms)

int ei_send_reg_encoded(int fd, const erlang_pid *from, const char *to, const char *buf, int len)

int ei_send_reg_encoded_tmo(int fd, const erlang_pid *from, const char *to, const char *buf, int len)

int ei_rpc(ei_cnode *ec, int fd, char *mod, char *fun, const char *argbuf, int argbuflen, ei_x_buff *x)
int ei_rpc_to(ei_cnode *ec, int fd, char *mod, char *fun, const char *argbuf, int argbuflen)
int ei_rpc_from(ei_cnode *ec, int fd, int timeout, erlang_msg *msg, ei_x_buff *x)

int ei_publish(ei_cnode *ec, int port)

int ei_publish_tmo(ei_cnode *ec, int port, unsigned timeout_ms)

int ei_accept(ei_cnode *ec, int listensock, ErlConnect *conp)

int ei_accept_tmo(ei_cnode *ec, int listensock, ErlConnect *conp, unsigned timeout_ms)

int ei_unpublish(ei_cnode *ec)

int ei_unpublish_tmo(ei_cnode *ec, unsigned timeout_ms)

const char *ei_thisnodename(ei_cnode *ec)
const char *ei_thishostname(ei_cnode *ec)
const char *ei_thisalivename(ei_cnode *ec)

erlang_pid *ei_self(ei_cnode *ec)

struct hostent *ei_gethostbyname(const char *name)
struct hostent *ei_gethostbyaddr(const char *addr, int len, int type)
struct hostent *ei_gethostbyname_r(const char *name, struct hostent *hostp, char *buffer, int buflen, int *h_errnop)
struct hostent *ei_gethostbyaddr_r(const char *addr, int length, int type, struct hostent *hostp, char *buffer, int buflen, int *h_errnop)

Debug Information

AUTHORS


erl_interface 3.4.5
Copyright © 1991-2004 Ericsson Utvecklings AB