]>
git.saurik.com Git - cycript.git/blob - Network.cpp
4 #include <sys/socket.h>
6 bool CYRecvAll_(int socket
, uint8_t *data
, size_t size
) {
7 while (size
!= 0) if (size_t writ
= _syscall(recv(socket
, data
, size
, 0))) {
15 bool CYSendAll_(int socket
, const uint8_t *data
, size_t size
) {
16 while (size
!= 0) if (size_t writ
= _syscall(send(socket
, data
, size
, 0))) {