X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FUN%2FUNDatagramSocketHandle.cc;h=53e2188508a5d95f3b64925be832baf1db31be3b;hb=01affde68cb93a334a2e6daabd2010b9a14b4553;hp=360ec03e4d12e7c3f886a5de266ba2d6032140bb;hpb=0de6c83e2769c7deb2ed3c57d7b26e8cb3fcca04;p=senf.git diff --git a/Socket/Protocols/UN/UNDatagramSocketHandle.cc b/Socket/Protocols/UN/UNDatagramSocketHandle.cc index 360ec03..53e2188 100644 --- a/Socket/Protocols/UN/UNDatagramSocketHandle.cc +++ b/Socket/Protocols/UN/UNDatagramSocketHandle.cc @@ -1,6 +1,7 @@ -// $Id$ -// // Copyright (C) 2007 +// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) +// Kompetenzzentrum NETwork research (NET) +// David Wagner // // 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 @@ -45,7 +46,13 @@ prefix_ void senf::UNDatagramSocketProtocol::init_client() const prefix_ void senf::UNDatagramSocketProtocol::init_client(UNSocketAddress const & address) const { init_client(); - //bind(address); + bind(address); +} + +prefix_ std::auto_ptr senf::UNDatagramSocketProtocol::clone() + const +{ + return std::auto_ptr(new UNDatagramSocketProtocol()); } ///////////////////////////////cc.e////////////////////////////////////////