Penguin

Differences between version 46 and predecessor to the previous major change of DCCP.

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 46 Last edited on Friday, November 4, 2005 2:47:55 pm by IanMcDonald Revert
Older page: version 44 Last edited on Tuesday, November 1, 2005 5:13:00 pm by IanMcDonald Revert
@@ -92,14 +92,30 @@
  
 There is an [Iperf] patch available [here|http://wand.net.nz/~iam4/dccp/dccp-iperf-2.0.2-1.diff] 
  
 !!FAQ 
-Q: Why do I get an errno 13 or permission denied?<br> 
+Q: Why do I get an errno 13 ([EACCES]) or permission denied?<br> 
 A: You are running [SELinux] which does not yet have DCCP support. Disable [SELinux]. 
+  
+Q: Why do I get an errno 71 ([EPROTO]) or Protocol error?<br>  
+A: It might be because you haven't set the service option which is compulsory. Sample code below:  
+<verbatim>  
+#define SOL_DCCP 269  
+#define DCCP_SOCKOPT_SERVICE 2  
+  
+void SetDCCPSocketOptions( thread_Settings *inSettings ) {  
+ char *dummy_svc = "junk";  
+ Socklen_t len = sizeof(dummy_svc);  
+ int rc;  
+  
+ rc = setsockopt( inSettings->mSock, SOL_DCCP, DCCP_SOCKOPT_SERVICE,  
+ (char*) &dummy_svc, len );  
+}  
+</verbatim>  
  
 For more details, ask IanMcDonald from the WandGroup. 
  
 See also: 
  
 * KernelDevelopment 
 ---- 
 CategoryProtocols