mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-28 12:30:58 +00:00
Introduce IPv6, unit tests pass
This commit is contained in:
1 parent
f0bc1c031f
commit
337e8abf2f
10 files changed
+2088
-634
No files matched your search
@@ -204,6 +204,10 @@ uint32_t mg_ntohl(uint32_t net) {
|
||||
return MG_LOAD_BE32(&net);
|
||||
}
|
||||
|
||||
uint64_t mg_ntohll(uint64_t net) {
|
||||
return MG_LOAD_BE64(&net);
|
||||
}
|
||||
|
||||
void mg_delayms(unsigned int ms) {
|
||||
uint64_t to = mg_millis() + ms + 1;
|
||||
while (mg_millis() < to) (void) 0;
|
||||
|
||||
Reference in new issue
Block a user