DataMuseum.dk

Presents historical artifacts from the history of:

Rational R1000/400

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about Rational R1000/400

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download

⟦61de5b998⟧ Ada Source

    Length: 2048 (0x800)
    Types: Ada Source
    Notes: 03_class, FILE, R1k_Segment, e3_tag, procedure Recepteur, seg_054174

Derivation

└─⟦8527c1e9b⟧ Bits:30000544 8mm tape, Rational 1000, Arrival backup of disks in PAM's R1000
    └─ ⟦cfc2e13cd⟧ »Space Info Vol 2« 
        └─⟦this⟧ 

E3 Source Code



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 := (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 Recepteur;

E3 Meta Data

    nblk1=1
    nid=0
    hdr6=2
        [0x00] rec0=1c rec1=00 rec2=01 rec3=000
    tail 0x2175cca1687b54b6b8a74 0x42a00088462060003