9 Dec 2007 19:48
stream error on windows
good folk, struggling some with getting libetpan .52 to work on windows. my environment: winxp pro vs 2003 openssl 0.9.8g (libeay32.lib and ssleay32.lib!) built with same had to #define EINPROGRESS WSAEINPROGRESS had to remove references to unistd.h in a couple places had to comment out a bit about feed_storage then it compiles: the lib, sendsmtp and readmsg. howmsoever: if i invoke sendsmtp thus: sendsmtp -f me@... -u me@... -v whatever -s smtp.gmail.com -p 587 -S me@... and a message text, i invariably get a stream error. I have tracked it down (i think) to: mailstream_socket.c:mailstream_low_socket_write(), the part where "cancelled" is tested for non-zero. cancelled is coming to us from the win32 block above: event = CreateEvent(NULL, TRUE, FALSE, NULL); WSAEventSelect(socket_data->fd, event, FD_WRITE | FD_CLOSE); FD_SET(event, &fds_read);(Continue reading)
RSS Feed