Ales Katona wrote: > There is an ugly type bug in win32 sockets.pp. > This patch fixes it. > > ssize_t = cuint16 -- this caused a bug with fprecv/fprecvfrom and > fpsend/fpsendto calls because winsock.recv[from]/winsock.send[to] calls > return a longint while fprecv used an unsigned int as return value. > > This caused the recv call to recieve loads of rubbish when an error > occured. > > I changed ssize_t to Int64(as it is in unix).
Applied, thx. _______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
