|
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, package body Orb, seg_052f74
└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000 └─ ⟦5a81ac88f⟧ »Space Info Vol 1« └─⟦this⟧
with Byte_Defs; with Transport; with Transport_Defs; with Transport_Name; with Text_Io; with Utils; package body Orb is procedure Emiter is Connection : Transport.Connection_Id; Status : Transport_Defs.Status_Code; The_Network : constant Transport_Defs.Network_Name := "TCP/IP"; The_Local_Socket : constant Transport_Defs.Socket_Id := (2, 6, 0, 0); The_Remote_Host : constant Transport_Defs.Host_Id := Transport.Local_Host (Connection); The_Remote_Socket : constant Transport_Defs.Socket_Id := Transport.Local_Socket (Connection); Data : constant Byte_Defs.Byte_String := Utils.String_To_Byte_String ("message envoye par l'emetteur"); Count : Natural; begin delay 5.0; Transport.Open (Connection, Status, The_Network, The_Local_Socket); if Transport.Is_Open (Connection) then Text_Io.Put_Line ("Emiter is Open ..."); end if; Text_Io.Put_Line ("Trying to connect with Receiver"); while not Transport.Is_Connected (Connection) loop Transport.Connect (Connection, Status, The_Remote_Host, The_Local_Socket); Text_Io.Put_Line ("Connecting...."); end loop; if Transport.Is_Connected (Connection) then Text_Io.Put_Line ("connection is OK ..."); end if; Text_Io.Put_Line ("Emiter is about to transmit..."); Transport.Transmit (Connection, Status, Data, Count); Text_Io.Put_Line ("Now, let's sleep for 30 secondes"); delay 30.0; Transport.Disconnect (Connection); Text_Io.Put_Line ("Emiter Disconnect"); end Emiter; end Orb;
nblk1=2 nid=0 hdr6=4 [0x00] rec0=1f rec1=00 rec2=01 rec3=056 [0x01] rec0=16 rec1=00 rec2=02 rec3=001 tail 0x2154bf91487a88d07829e 0x42a00088462060003