|
|
DataMuseum.dkPresents historical artifacts from the history of: Rational R1000/400 |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about Rational R1000/400 Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 3072 (0xc00)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, seg_02930f
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦5a81ac88f⟧ »Space Info Vol 1«
└─⟦this⟧
SEPARATE (Transport)
PROCEDURE Close (Connection : Transport.Connection_Id) IS
Temp_Connect : Transport.Connection_Id := Connection;
System_Call_Result : Unix_Base_Types.Int;
BEGIN
IF Connection = Null_Connection_Id THEN
RETURN;
END IF;
IF Connection.Socket_Status = Connected THEN
Transport.Disconnect (Connection => Connection);
END IF;
IF Connection.Socket_Status = Open OR
Connection.Socket_Status = Not_Connected THEN
System_Call_Result :=
Socket_System_Interface.Shutdown
(S => Connection.Local_Socket_Descriptor, How => 2);
System_Call_Result := System_Interface.File_Io.Close
(Fildes => Connection.Local_Socket_Descriptor);
IF System_Call_Result < 0 THEN
RAISE Program_Error;
ELSE
Connection.Local_Socket_Descriptor := Unix_Error;
Connection.Socket_Status := Closed;
END IF;
END IF;
END Close;
nblk1=2
nid=0
hdr6=4
[0x00] rec0=21 rec1=00 rec2=01 rec3=016
[0x01] rec0=07 rec1=00 rec2=02 rec3=001
tail 0x2152174a483cd407c3fac 0x489e0066482863c01