Now it's unused.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@yandex-team.ru>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
G_GNUC_WARN_UNUSED_RESULT;
int socket_set_cork(int fd, int v);
int socket_set_nodelay(int fd);
-void qemu_socket_set_block(int fd);
int socket_set_fast_reuse(int fd);
#ifdef WIN32
return true;
}
-void qemu_socket_set_block(int fd)
-{
- g_unix_set_fd_nonblocking(fd, false, NULL);
-}
-
-
int socket_set_fast_reuse(int fd)
{
int val = 1, ret;
return true;
}
-void qemu_socket_set_block(int fd)
-{
- unsigned long opt = 0;
- qemu_socket_unselect(fd, NULL);
- ioctlsocket(fd, FIONBIO, &opt);
-}
-
int socket_set_fast_reuse(int fd)
{
/* Enabling the reuse of an endpoint that was used by a socket still in