Patrick, the better place to ask question about linux DCCP implementation is dccp@xxxxxxxxxxxxxxxx Yes, it seems to be possible to use ioctl function and DCCP. Leandro. 2007/2/21, patrick andrieux <patrick.andrieux@xxxxxxxxx>:
Hi, I'm doing some research on DCCP, and I'm trying to use ioctl() function. I ran the sample code (from http://linux-net.osdl.org/index.php/DCCP_Testing ) using -proto TCP. I added a few lines to use ioctl(), and it works with TCP (return value is 0). But it doesn't work with DCCP, I get -1 as return value. I took a look at DCCP source code, and basically my first step would be to display in the kernel log what dccp_ioctl() prints. My guess is that functionalities to use ioctl() are not implemented yet. am I right ? Is there any way to get some information from DCCP other than sysctl ? regards, Patrick.