- close on socket handle now calls v_close() -> protocol()->close()
[senf.git] / Socket / SocketPolicy.test.hh
index 418707b..263c837 100644 (file)
@@ -1,6 +1,6 @@
 // $Id$
 //
-// Copyright (C) 2006 
+// Copyright (C) 2006
 // Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
 // Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
 //     Stefan Bund <stefan.bund@fokus.fraunhofer.de>
@@ -37,7 +37,7 @@ namespace test {
     struct SomeAddressingPolicy : public senf::AddressingPolicyBase
     {
         typedef unsigned Address;
-        
+
         static void peer(FileHandle handle, unsigned & addr)
             { addr=1; }
         static void local(FileHandle, unsigned & addr)
@@ -55,6 +55,8 @@ namespace test {
     {
         static int accept(FileHandle handle, unsigned & addr)
             { addr = 3; return -1; }
+        static int accept(FileHandle handle)
+            { return -1; }
     };
 
     struct SomeReadPolicy : public senf::ReadPolicyBase
@@ -91,7 +93,7 @@ namespace test {
                 return write(handle,buffer,size);
             }
     };
-    
+
     struct SomeBufferingPolicy : public senf::BufferingPolicyBase
     {
         static unsigned rcvbuf(FileHandle handle)
@@ -126,5 +128,10 @@ namespace test {
 \f
 // Local Variables:
 // mode: c++
+// fill-column: 100
 // c-file-style: "senf"
+// indent-tabs-mode: nil
+// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
 // End: