- 08D9E728F35338ACA8CBD7B2D0D1A124F731E286C15DF2E65C4D7C9BB6BF750CD44ACBB818ECA656BFD3402B77927C300693978576622E6E241C2F00824CC7FE
+ DE0CEC9CED66F9D083E9C7DD1F2E02586E36481701F3B8C988F500F521454DC8CA51797961E1E773EDFFB7A96AD6D9B4F277B47AAB056B7E313C23B8677BAFF3
udp/libudp/udp.adb
(71 . 7)(71 . 7)
28 end Open_Socket;
29
30
31 -- Permanently close the given open given socket
32 -- Permanently close the given open socket
33 procedure Close_Socket(S : in out Socket) is
34 begin
35 Unix_UDP_Socket_Close(Socket => S'Address);
(94 . 8)(94 . 11)
37 Close_Socket(S);
38 raise UDP_Failed_Transmit;
39 when others =>
40 -- No eggog
41 null;
42 -- No eggog, but must check if sent all bytes:
43 if (Result /= Payload'Length) then
44 Close_Socket(S);
45 raise UDP_Truncated_Send;
46 end if;
47 end case;
48 end Transmit;
49