OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:tcpServer
(Results
1 - 3
of
3
) sorted by relevancy
/src/external/mit/libuv/dist/test/
echo-server.c
36
static uv_tcp_t
tcpServer
;
257
server = (uv_handle_t*)&
tcpServer
;
260
r = uv_tcp_init(loop, &
tcpServer
);
267
r = uv_tcp_bind(&
tcpServer
, (const struct sockaddr*) &addr, 0);
274
r = uv_listen((uv_stream_t*)&
tcpServer
, SOMAXCONN, on_connection);
291
server = (uv_handle_t*)&
tcpServer
;
294
r = uv_tcp_init(loop, &
tcpServer
);
302
r = uv_tcp_bind(&
tcpServer
, (const struct sockaddr*) &addr6, 0);
309
r = uv_listen((uv_stream_t*)&
tcpServer
, SOMAXCONN, on_connection);
test-getsockname.c
41
static uv_tcp_t
tcpServer
;
54
uv_close((uv_handle_t*)&
tcpServer
, NULL);
178
r = uv_tcp_init(loop, &
tcpServer
);
184
r = uv_tcp_bind(&
tcpServer
, (const struct sockaddr*) &addr, 0);
190
r = uv_listen((uv_stream_t*)&
tcpServer
, 128, on_connection);
198
r = uv_tcp_getsockname(&
tcpServer
, &sockname, &namelen);
204
r = uv_tcp_getpeername(&
tcpServer
, &peername, &namelen);
benchmark-pump.c
49
static uv_tcp_t
tcpServer
;
385
server = (uv_stream_t*)&
tcpServer
;
386
r = uv_tcp_init(loop, &
tcpServer
);
388
r = uv_tcp_bind(&
tcpServer
, (const struct sockaddr*) &listen_addr, 0);
390
r = uv_listen((uv_stream_t*)&
tcpServer
, MAX_WRITE_HANDLES, connection_cb);
Completed in 14 milliseconds
Indexes created Mon Apr 20 00:23:12 UTC 2026