X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/4644480a22eda2f7350a8997bb2109f325b576fe..a86e34d01f829a8b4f58f6066d78148c0901c1dd:/Network.cpp diff --git a/Network.cpp b/Network.cpp index e38dfd8..c0b8c9b 100644 --- a/Network.cpp +++ b/Network.cpp @@ -1,6 +1,4 @@ -#include "cycript.hpp" - -/* Cycript - Remove Execution Server and Disassembler +/* Cycript - Inlining/Optimizing JavaScript Compiler * Copyright (C) 2009 Jay Freeman (saurik) */ @@ -39,9 +37,13 @@ */ /* }}} */ +#include "cycript.hpp" + #include <sys/types.h> #include <sys/socket.h> +#include "Error.hpp" + bool CYRecvAll_(int socket, uint8_t *data, size_t size) { while (size != 0) if (size_t writ = _syscall(recv(socket, data, size, 0))) { data += writ;