- E5225E08AAD2ECDAA42E10638FFF93C70F5756AD293CC7FCA22DFB156583DBEF132EEAF48EB36B6614637DD22EFEFB5CFC43FD724456E9E80E39ACC1742D157E
+ 41D0512D8759CBCB10D753A22A86B6BDAF96FCCF779E2BBDABF4A1C7EFCA7A4F8F9047984D6CC2350B7625715AAC26C0CCD49C7BACA765811E0C0BCC0ABABF22
udp/libudp/udp.ads
(30 . 7)(30 . 6)
54
55 type Payload is array(1 .. Payload_Size) of Unsigned_8;
56
57 -- type IP_Address is array(1 .. 4) of Unsigned_8;
58 subtype IP_Address is Unsigned_32;
59 subtype IP_Port is Unsigned_16;
60
(63 . 7)(62 . 7)
62 procedure Open_Socket(S : out Socket;
63 Local_Endpoint : in Endpoint);
64
65 -- Permanently close the given open given socket
66 -- Permanently close the given open socket
67 procedure Close_Socket(S : in out Socket);
68
69 -- Transmit the Payload, via Socket, to given Destination
(84 . 6)(83 . 7)
71 UDP_Failed_SetOpt : exception;
72 UDP_Failed_Bind : exception;
73 UDP_Failed_Transmit : exception;
74 UDP_Truncated_Send : exception;
75 UDP_Failed_Receive : exception;
76
77 private