Setsockopt() api in 2.6 implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

Can anybody provide an example of basic steps required under DCCP for
Linux 2.6 implementation to create a simple listening socket?

I have:

	Sk = socket(AF_INET, SOCK_DCCP, 0);
	...
	...
	Bind();
	...
	...
	Int Buf_len=1400;
	Error = setsockopt(sk, SOL_DCCP, DCCP_SOCKOPT_PACKET_SIZE,
&Buf_len, sizeof(Buf_len));

Setsockopt() fails with code 92 - (not supported, I believe).
Apparently, I never reach dccp setsockopt() implementation. So, what am
I missing?

B.R.
Vladimir.



[Index of Archives]     [Linux Kernel Development]     [Linux DCCP]     [IETF Annouce]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [DDR & Rambus]

  Powered by Linux