X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=Socket%2FINetProtocol.hh;h=79a514c55669e00bbabc02c74df86abdbfc2bc54;hb=70256cc93f59f5d2c9b3428775a181e5e225bfc5;hp=5c6bc7afab795a49cd8f4aff932b4cf8450c2a40;hpb=ac6a813d9d99f7add4e13aff7a4bcd314d5604a6;p=senf.git diff --git a/Socket/INetProtocol.hh b/Socket/INetProtocol.hh index 5c6bc7a..79a514c 100644 --- a/Socket/INetProtocol.hh +++ b/Socket/INetProtocol.hh @@ -20,11 +20,14 @@ // Free Software Foundation, Inc., // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -// TODO: what about OOB data? das OOB Data block receipt of normal data ? +/** \file -// TODO: Implement IP_RECVERR / MSG_ERRQUEUE. This should be placed -// into an additional protocol class since IP_RECVERR is only valid -// for SOCK_DGRAM (UDP) and not SOCK_STREAM (TCP) sockets + \todo what about OOB data? + + \todo Implement IP_RECVERR / MSG_ERRQUEUE. This should be placed + into an additional protocol class since IP_RECVERR is only valid + for SOCK_DGRAM (UDP) and not SOCK_STREAM (TCP) sockets + */ #ifndef HH_INetProtocol_ #define HH_INetProtocol_ 1 @@ -41,6 +44,15 @@ namespace senf { + /** \brief + + \todo Is it safe, not to allow setting the interface index on + add/drop? what does it do (especially if the local addres is + given ?). What have I been thinking here ??? + + \todo move all multicast-methods into an extra + IPv4MulticastProtocol class + */ class IPv4Protocol : public virtual SocketProtocol { @@ -54,13 +66,6 @@ namespace senf { bool mcLoop() const; void mcLoop(bool value) const; - // TODO: Is it safe, not to allow setting the interface - // index on add/drop? what does it do (especially if - // the local addres is given ?) - - // TODO: move all multicast-methods into an extra - // IPv4MulticastProtocol class - void mcAddMembership(INet4Address const & mcAddr) const; void mcAddMembership(INet4Address const & mcAddr, INet4Address const & localAddr) const;