Re: [PATCH v2 1/2] Phonet: Implement Pipe Controller to support Nokia Slim Modems

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: =?iso-8859-1?q?R=E9mi?= Denis-Courmont
Date: Friday, October 1, 2010 - 1:42 am

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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH v2 1/2] Phonet: Implement Pipe Controller to su ..., =?iso-8859-1?q?R=E9m ..., (Tue Sep 28, 3:25 pm)
Re: [PATCH v2 1/2] Phonet: Implement Pipe Controller to su ..., =?iso-8859-1?q?R=E9m ..., (Wed Sep 29, 11:21 am)
Re: [PATCH v2 1/2] Phonet: Implement Pipe Controller to su ..., =?iso-8859-1?q?R=E9m ..., (Fri Oct 1, 1:42 am)
Re: [PATCH v2 1/2] Phonet: Implement Pipe Controller to su ..., =?iso-8859-1?q?R=E9m ..., (Fri Oct 1, 2:20 am)