| 405 | |
| 406 | |
| 407 | rem_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 | |
| 437 | rem_port* XNET_reconnect(ULONG client_pid) |
no test coverage detected