Sockets ssize_t 16/32 bits
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
(i know it's quite unimportant but...)
By reading Sockets.pp for win32, it seems that
there is a problem 16/32 bits types.
fpRecv return a 16 bits unsigned value, yet Recv
returns a Longint.
On error Recv retrun 65535 instead of -1
Additional information:
Reporter: Benoit Sanchez
EMail: sanchez at clipper dot ens dot fr
Mantis conversion info:
- Mantis ID: 6083
- OS: Win32
- Fixed in version: 2.0.2