Re: fix for Sockets.Receive
Samuel Tardieu <[email protected]> Tue, 02 Mar 2004 14:39:12 +0100
| Newsgroups | gmane.comp.lang.ada.sockets |
|---|---|
| Organization | Avian Carrier & Friends |
| Message-ID | <[email protected]> |
>>>>> "Dmitriy" == Dmitriy Anisimkov <[email protected]> writes: Dmitriy> Could you please fix the Sockets.Receive routine. When Dmitriy> Count < 0 (error condition), Dmitriy> Index := Index + Stream_Element_Count (Count); Dmitriy> raise the Constraint_Error Dmitriy> and we would not know the original socket error. Very good catch Dmitriy! I have applied your patch and released AdaSockets 1.8.4.3 (see http://www.rfc1149.net/devel/adasockets). Sam -- Samuel Tardieu -- [email protected] -- http://www.rfc1149.net/sam _______________________________________________ AdaSockets mailing list [email protected] http://www.rfc1149.net/mailman/listinfo/adasockets