|
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 - download
Length: 3072 (0xc00) Types: Ada Source Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure My_First_Recepteur, seg_055e5c
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Byte_Defs; with Text_Io; with Transport; with Transport_Defs; with Utils; procedure My_First_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 := (16#0A#, 16#28#); 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 My_First_Recepteur;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=1f rec1=00 rec2=01 rec3=034 [0x01] rec0=03 rec1=00 rec2=02 rec3=001 tail 0x2176150ba87c08cb7cc91 0x42a00088462060003