MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / XNET_connect

Function XNET_connect

src/remote/os/win32/xnet.cpp:407–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405
406
407rem_port* XNET_connect(PACKET* packet,
408 USHORT flag,
409 RefPtr<const Config>* config)
410{
411/**************************************
412 *
413 * X N E T _ c o n n e c t
414 *
415 **************************************
416 *
417 * Functional description
418 * Establish half of a communication link.
419 *
420 **************************************/
421 if (xnet_shutdown)
422 {
423 Arg::StatusVector temp;
424 temp << Arg::Gds(isc_net_server_shutdown) << Arg::Str("XNET");
425 temp.raise();
426 }
427
428 if (packet)
429 {
430 return xnet_client->connect_client(packet, config);
431 }
432
433 return xnet_server->connect_server(flag);
434}
435
436
437rem_port* XNET_reconnect(ULONG client_pid)

Callers 2

XNET_analyzeFunction · 0.85
xnet_connect_wait_threadFunction · 0.85

Calls 5

GdsClass · 0.85
StrClass · 0.85
connect_clientMethod · 0.80
connect_serverMethod · 0.80
raiseMethod · 0.45

Tested by

no test coverage detected