BlinkenArea - GitList
Repositories
Blog
Wiki
Blinker
Code
Commits
Branches
Tags
Search
Tree:
3acea4f
Branches
Tags
master
Blinker
src
windows
NetHost.cpp
File + Directory for Windows
Stefan Schuermans
commited
3acea4f
at 2017-10-28 20:23:07
NetHost.cpp
Blame
History
Raw
/* Blinker Copyright 2011-2014 Stefan Schuermans <stefan@blinkenarea.org> Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html a blinkenarea.org project */ #include <winsock2.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