[zeromq-dev] ZMQ vs SPI: FD shenanigans
Thomas Rodgers
rodgert at twrodgers.com
Tue Jan 20 15:11:42 CET 2015
Do you see the same behavior if you replace C with fopen() ?
On Tue, Jan 20, 2015 at 7:40 AM, Olaf Mandel <o.mandel at menlosystems.com>
wrote:
> Am 20.01.2015 14:35, schrieb Olaf Mandel:
> -Snipp-
> >
> >
> > #include <sys/ioctl.h>
> > #include <zmq.hpp>
> -Snipp-
>
> Shoot: That was missing a few include statements at the top the program
> and the compile instructions. Correct start of the demo program:
>
>
> /*
> * Compile with:
> * g++ -Wall -Werror -Wextra -o test test.cpp -lzmq
> */
> #include <fcntl.h>
> #include <fstream>
> #include <iostream>
> #include <linux/spi/spidev.h>
> #include <sys/ioctl.h>
> #include <zmq.hpp>
>
>
> Sorry about that,
> Olaf Mandel
> --
> Olaf Mandel
> phone: +49-89-189166-250
> fax: +49-89-189166-111
> Menlo Systems GmbH
> Am Klopferspitz 19a, D-82152 Martinsried
> Amtsgericht München HRB 138145
> Geschäftsführung: Dr Michael Mei, Dr Ronald Holzwarth
> USt-IdNr. DE217772017, St.-Nr. 14316170324
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20150120/146badd9/attachment.htm>
More information about the zeromq-dev
mailing list