Detach
Detaches from the database (op_detach — 21) or service (op_service_detach — 83).After detach the connection is still open, to disconnect send Disconnect (op_disconnect).
Client
Int32—p_operation-
Operation code (
op_detach—21, orop_service_detach—83) Int32—p_rlse_object-
Unused, always use
0
Server
Disconnect
Client
Int32—p_operation-
Operation code (
op_disconnect)
Server
No response, remote socket close.
Closing the connection (socket) without sending an op_disconnect will result in “Connection reset by peer” (error 10054 (Windows) or 104 (Linux)) in firebird.log.