git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1586
270642c3-0616-0410-b53a-bc976706d245
checksums etc). Now the packet is ready. We may now send it out using a packet socket
\code
- senf::PacketSocketHandle sock ("eth0");
+ senf::PacketSocketHandle sock();
+ sock.bind( senf::LLSocketAddress("eth0"));
sock.write(eth.data());
\endcode
from a packet socket handle:
\code
- senf::PacketSocketHandle sock ("eth0");
+ senf::PacketSocketHandle sock();
+ sock.bind( senf::LLSocketAddress("eth0"));
senf::EthernetPacket packet (senf::EthernetPacket::create(senf::noinit));
sock.read(packet.data(),0u);
\endcode