// an error because of a signal being received or for some other
// reasaon. This is because DHCP servers use signals to trigger
// certain actions, like reconfiguration or graceful shutdown.
- // By cacthing a dedicated exception the caller will know if the
+ // By catching a dedicated exception the caller will know if the
// error returned by the function is due to the reception of the
// signal or for some other reason.
if (errno == EINTR) {
// an error because of a signal being received or for some other
// reasaon. This is because DHCP servers use signals to trigger
// certain actions, like reconfiguration or graceful shutdown.
- // By cacthing a dedicated exception the caller will know if the
+ // By catching a dedicated exception the caller will know if the
// error returned by the function is due to the reception of the
// signal or for some other reason.
if (errno == EINTR) {
/// sockets. If reception is successful and all information about its
/// sender is obtained, Pkt6 object is created and returned.
///
+ /// This method also checks if data arrived over registered external socket.
+ /// This data may be of a different protocol family than AF_INET6.
+ ///
/// @param timeout_sec specifies integral part of the timeout (in seconds)
/// @param timeout_usec specifies fractional part of the timeout
/// (in microseconds)
/// IPv4 sockets. If reception is successful and all information about
/// its sender is obtained, Pkt4 object is created and returned.
///
+ /// This method also checks if data arrived over registered external socket.
+ /// This data may be of a different protocol family than AF_INET.
+ ///
/// @param timeout_sec specifies integral part of the timeout (in seconds)
/// @param timeout_usec specifies fractional part of the timeout
/// (in microseconds)