Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2006-12

fdRead?

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Aleš Katona

Hi. Can someone please tell me what the idea behind "fdRead" was?

It seems in 2.0.4 and prior, it was part of the standard sockets, whereas in 2.1.1 it's a leftover left in some less maintained platforms (old mac, wince, netware).

I've got a bugrep with a patch for fdread and need to decide how to respond.

Thanks

Aleš Katona

Reply by email

Marco van de Voort
to Aleš Katona
Hi. Can someone please tell me what the idea behind "fdRead" was?

Roughly 1.0.x equivalent of fpread. However WinSock packages it as part of the socket.

Show quoted text 5 lines
whereas in 2.1.1 it's a leftover left in some less maintained platforms (old mac, wince, netware). I've got a bugrep with a patch for fdread and need to decide how to respond.

Windows is the key here. Solve it as done for windows.

Reply by email

peter green
to Marco van de Voort
Show quoted text 13 lines
-----Original Message----- From: Behalf Of Marco van de Voort Sent: 16 December 2006 11:17 To: FPC developers' list Subject: Re: [fpc-devel] fdRead? > Hi. Can someone please tell me what the idea behind "fdRead" was? Roughly 1.0.x equivalent of fpread. However WinSock packages it as part of the socket.

personlly i'd say nuke it, portable sockets code should really be using recv instead (though winsock differs from unix sufficiantly that most serious apps will wan't to seperate the code anyway)

Reply by email