|
|
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: 2048 (0x800)
Types: Ada Source
Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Recepteur, seg_05458e
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
└─⟦cfc2e13cd⟧ »Space Info Vol 2«
└─⟦this⟧
procedure Recepteur is
Connection : Transport.Connection_Id;
Status : Transport_Defs.Status_Code;
Our_Network : constant Transport_Defs.Network_Name := "TCP/IP";
Local_Socket : constant Transport_Defs.Socket_Id := (2, 6, 1, 1);
Data : Byte_Defs.Byte_String (1 .. 255);
Count : Natural;
begin
Text_Io.Put_Line ("RECEPTION is beginning...");
Transport.Open (Connection, Status, Our_Network, Local_Socket);
if Transport.Is_Open (Connection) then
Text_Io.Put_Line ("Reception is open");
end if;
Transport.Connect (Connection, Status);
if Transport.Is_Connected (Connection) then
Text_Io.Put_Line ("Reception is connect");
end if;
Transport.Receive (Connection, Status, Data, Count);
Text_Io.Put_Line ("'" & Utils.Byte_String_To_String (Data (1 .. Count)) &
"' has been received");
Text_Io.Put_Line ("End of reception");
end Recepteur;
nblk1=1
nid=0
hdr6=2
[0x00] rec0=1e rec1=00 rec2=01 rec3=001
tail 0x2175d6f0887b88360afb6 0x42a00088462060003