examples: ipcpipeline: do not use the linux-specific SOCK_NONBLOCK flag
authorGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 31 Aug 2017 12:07:45 +0000 (15:07 +0300)
committerGeorge Kiagiadakis <george.kiagiadakis@collabora.com>
Thu, 31 Aug 2017 12:09:24 +0000 (15:09 +0300)
commit4e239a6632ca648e3bf39b120e2d15822e5540e4
tree6602f20cf13d4ae81d96c1a1267a3bad81d2d991
parent282b682caba2fc3d932591d7842cb953ad2357f8
examples: ipcpipeline: do not use the linux-specific SOCK_NONBLOCK flag

Use fcntl() instead to set O_NONBLOCK, which is portable.

https://bugzilla.gnome.org/show_bug.cgi?id=786763
tests/examples/ipcpipeline/ipc-play.c
tests/examples/ipcpipeline/ipcpipeline1.c