X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FProtocols%2FUN%2FUNDatagramSocketHandle.cc;h=42d7f38cadd2f6edc07ffae61abce489baaa6b0d;hb=6f50bf49e282c0528f51faa0a245bbfa2b867399;hp=4d21aec01746d07ea46e3124bdba6804958a7173;hpb=1ad3873b372da6187b1fbc645bf276287d2efb54;p=senf.git diff --git a/Socket/Protocols/UN/UNDatagramSocketHandle.cc b/Socket/Protocols/UN/UNDatagramSocketHandle.cc index 4d21aec..42d7f38 100644 --- a/Socket/Protocols/UN/UNDatagramSocketHandle.cc +++ b/Socket/Protocols/UN/UNDatagramSocketHandle.cc @@ -1,7 +1,9 @@ +// $Id$ +// // Copyright (C) 2007 -// Fraunhofer Institut fuer offene Kommunikationssysteme (FOKUS) -// Kompetenzzentrum NETwork research (NET) -// David Wagner +// Fraunhofer Institute for Open Communication Systems (FOKUS) +// Competence Center NETwork research (NET), St. Augustin, GERMANY +// 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 @@ -46,13 +48,7 @@ prefix_ void senf::UNDatagramSocketProtocol::init_client() const prefix_ void senf::UNDatagramSocketProtocol::init_client(UNSocketAddress const & address) const { init_client(); - bind(address); -} - -prefix_ std::auto_ptr senf::UNDatagramSocketProtocol::clone() - const -{ - return std::auto_ptr(new UNDatagramSocketProtocol()); + clientHandle().bind(address); } ///////////////////////////////cc.e////////////////////////////////////////