2015-11-19 20:10 GMT+01:00, Greg Reagle <greg.rea...@umbc.edu>: > Howdy. This is probably obvious to non-newbies so please don't make fun > of me *too* much. > > Anyway, I can compile and run sj but it dies at this line in xmpp_init() > if (write(WRITE_FD, msg, size) < 0) > > which refers to this: > /* ucspi */ > #define WRITE_FD 7 > #define READ_FD 6 > > but these file descriptors are never initialized or opened. What's > missing?
Probably you're supposed to open sj through tcpclient, from ucspi-tcp [0] [0]: http://cr.yp.to/ucspi-tcp.html