senf::UDPv4SocketProtocol Class Reference
[Protocol Implementations (Concrete Protocol Classes)]

IPv4 UDP Socket Protocol. More...

#include <senf/Socket/Protocols/INet/UDPSocketHandle.hh>

Inheritance diagram for senf::UDPv4SocketProtocol:
Inheritance graph
[legend]

List of all members.


Detailed Description

IPv4 UDP Socket Protocol.
Socket Handle typedefs:
UDPv4ClientSocketHandle (ProtocolClientSocketHandle)
Policy Interface:
ClientSocketHandle::read(), ClientSocketHandle::readfrom(), ClientSocketHandle::writeto(), ClientSocketHandle::bind(), ClientSocketHandle::local()
Address Type:
INet4SocketAddress
UDPv4SocketProtocol provides an internet protocol stream socket based on the UDP protocol and IPv4 addressing.

This class is utilized as the protocol class of the ProtocolClientSocketHandle via the Socket Handle typedefs above.

See also:
UDPv6SocketProtocol

Definition at line 80 of file UDPSocketHandle.hh.


Constructors

void  init_client () const
  Create unconnected client socket.
void  init_client (INet4SocketAddress const &address) const
  Create client socket and bind.

Member Function Documentation

void senf::UDPv4SocketProtocol::
init_client ( INet4SocketAddress const &  address )

Create client socket and bind.

Creates a new client socket and bind to the given address.

Parameters:
[in]  address  local address to bind to
Note:
This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor

Definition at line 54 of file UDPSocketHandle.cc.

void senf::UDPv4SocketProtocol::
init_client ()

Create unconnected client socket.

Note:
This member is implicitly called from the ProtocolClientSocketHandle::ProtocolClientSocketHandle() constructor

Definition at line 44 of file UDPSocketHandle.cc.


The documentation for this class was generated from the following files: