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

IPv4 UDP Socket Protocol, connected. More...

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

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

List of all members.


Detailed Description

IPv4 UDP Socket Protocol, connected.
Socket Handle typedefs:
ConnectedUDPv4ClientSocketHandle (ProtocolClientSocketHandle)
Policy Interface:
ClientSocketHandle::read(), ClientSocketHandle::write(), ClientSocketHandle::bind(), ClientSocketHandle::local(), ClientSocketHandle::connect(), ClientSocketHandle::peer()
Address Type:
INet4SocketAddress
ConnectedUDPv4SocketProtocol 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:
ConnectedUDPv6SocketProtocol

Definition at line 79 of file ConnectedUDPSocketHandle.hh.


Constructors

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

Member Function Documentation

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

Create client socket and connect.

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

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

Definition at line 54 of file ConnectedUDPSocketHandle.cc.

void senf::ConnectedUDPv4SocketProtocol::
init_client ()

Create unconnected client socket.

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

Definition at line 44 of file ConnectedUDPSocketHandle.cc.


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