|
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, procedure Communic2, seg_0546ae
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─⟦cfc2e13cd⟧ »Space Info Vol 2« └─⟦this⟧
with Text_Io; with Transport; with Transport_Defs; with Byte_Defs; with Utils; procedure Communic2 is Connect : Transport.Connection_Id; Status : Transport_Defs.Status_Code; Count : Natural; Data : Byte_Defs.Byte_String (1 .. 255); begin Transport.Open (Connect, Status, "TCP/IP", (2, 6, 0, 6)); if Transport.Is_Open (Connect) then Text_Io.Put_Line ("open ok"); end if; --Text_Io.Put_Line (Transport.Remote_Host (Connect)); while not Transport.Is_Connected (Connect) loop Transport.Connect (Connect, Status, Duration'Last); end loop; if Transport.Is_Connected (Connect) then Text_Io.Put_Line ("connect ok"); end if; Transport.Receive (Connect, Status, Data, Count); Transport.Transmit (Connect, Status, Utils.String_To_Byte_String ("coucou hello +++++"), Count); Text_Io.Put_Line (Utils.Byte_String_To_String (Data)); Text_Io.Put_Line ("fini com2"); Transport.Disconnect (Connect); end Communic2;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=20 rec1=00 rec2=01 rec3=044 [0x01] rec0=06 rec1=00 rec2=02 rec3=000 tail 0x2175d7f1e87b884811cf6 0x42a00088462060003