Mattias Gaertner wrote:

I'm looking at something that uses UDP directly, It's being built
from the ground up in Delphi and Lazarus for both Win-32 and Linux.

In Delphi I can control sockets directly by using "USES WinSock".
However Lazarus/FPC appears to have at least two libraries with
similar functionality, including winsock.pp and sockets.pp- which
should I be using?

sockets.pp. But this is very basic.
There are good and free networking libraries working under
linux/windows and delphi/lazarus. For example: synapse and indy.

Thanks. It's slightly tricky stuff that I've previously found I needed to do direct onto winsock.

What I'm actually struggling with is select() and in particular finding where to find pfdset/tfdset for its parameters. I can see these in winsock.pp but if this isn't the preferred library where do I find them?

--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to