char* addr; // address used for connection
int nn_sock; // the nano-msg socket to write to for this entry
int open; // true if we've established the connection
+ pthread_mutex_t gate; // must be able to serialise some transport level functions on the ep
};
/*
*/
struct uta_ctx {
char* my_name; // dns name of this host to set in sender field of a message
+ char* my_ip; // default IP address
int shutdown; // threads should exit if this is set
int max_mlen; // max message length payload+header
int max_plen; // max payload length