vcpe/srcs/httpserver/src/haywire/connection_dispatcher.h

13 lines
357 B
C
Raw Normal View History

#pragma once
#include <stdbool.h>
#include "uv.h"
#include "connection_consumer.h"
struct ipc_peer_ctx
{
handle_storage_t peer_handle;
uv_write_t write_req;
};
void start_connection_dispatching(uv_handle_type type, unsigned int num_servers, struct server_ctx* servers, char* listen_address, int listen_port, bool tcp_nodelay, int listen_backlog);