Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - socket ioctl accessing problem: (4 Items)
   
socket ioctl accessing problem  
i am created a socket for accessing the ioctl but the socket communicate with the ioctl, but ioctl comments are sending 
properly but the ifreq data not fetched properly ioctl didn't receive ioctl data ......

how can i send ioctl data and which buffer i want to use...? any one knows tell me.....
Re: socket ioctl accessing problem  
This is a custom ioctl?

The easiest solution is probably to use devctlv() to
send it and pass the data in an iov after the header.

On Tue, Oct 29, 2013 at 09:08:49AM -0400, ganesh wrote:
> i am created a socket for accessing the ioctl but the socket communicate with the ioctl, but ioctl comments are 
sending properly but the ifreq data not fetched properly ioctl didn't receive ioctl data ......
> 
> how can i send ioctl data and which buffer i want to use...? any one knows tell me.....
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post106361
> To cancel your subscription to this discussion, please e-mail momentics-community-unsubscribe@community.qnx.com
Re: socket ioctl accessing problem  
ya i want to create a custom ioctl...


but now small testing with system ioctl...
Re: socket ioctl accessing problem  
devctlv()   it return success but nothing changes is it for control system ioctl ..?

i'm new in qnx are u having any sample code ...
or otherwise what are the parameters i want to send with the devctlv()