Hello,
On Thursday 30 September 2010, Kumar SANGHVI wrote:
Sure. What you did is basically worse than ioctl()'s. You've implemented them
as socket options. Socket options are meant to configure parameters with
setsockopt and read paramters with getsockopt. They are not meant for 'doing'
things - that's what ioctl()'s are for.
That makes absolutely no sense if you consider how setsockopt and getsockopt
are supposed to work.
connect() should replace listen(), PIPE_CREATE and accept().
--
Rémi Denis-Courmont
http://www.remlab.net/
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html