/* Blinker
   Copyright 2011-2019 Stefan Schuermans <stefan@blinkenarea.org>
   Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
   a blinkenarea.org project */

#include <arpa/inet.h>
#include <stdint.h>

#include "NetHost.h"

namespace Blinker {

/// convert 32 bit unsigned integer from network to host byte order
uint32_t Net2Host32(uint32_t val)
{
  return ntohl(val);
}

} // namespace Blinker

