// $Id$
//
// Copyright (C) 2006
-// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS)
-// Kompetenzzentrum fuer Satelitenkommunikation (SatCom)
-// Stefan Bund <stefan.bund@fokus.fraunhofer.de>
+// Fraunhofer Institute for Open Communication Systems (FOKUS)
+// Competence Center NETwork research (NET), St. Augustin, GERMANY
+// Stefan Bund <g0dil@berlios.de>
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
{
static int accept(FileHandle handle, unsigned & addr)
{ addr = 3; return -1; }
+ static int accept(FileHandle handle)
+ { return -1; }
};
struct SomeReadPolicy : public senf::ReadPolicyBase
}
};
- struct SomeBufferingPolicy : public senf::BufferingPolicyBase
- {
- static unsigned rcvbuf(FileHandle handle)
- { return 0; }
- static unsigned rcvbuf(FileHandle handle, unsigned size)
- { return 0; }
-
- static unsigned sndbuf(FileHandle handle)
- { return 0; }
- static unsigned sndbuf(FileHandle handle, unsigned size)
- { return 0; }
- };
-
typedef senf::MakeSocketPolicy<
SomeAddressingPolicy,
SomeFramingPolicy,
SomeCommunicationPolicy,
SomeReadPolicy,
- SomeWritePolicy,
- SomeBufferingPolicy
+ SomeWritePolicy
>::policy SomeSocketPolicy;
}}
// c-file-style: "senf"
// indent-tabs-mode: nil
// ispell-local-dictionary: "american"
+// compile-command: "scons -u test"
+// comment-column: 40
// End: