healingright.blogg.se

Free pascal net
Free pascal net







free pascal net

It should serve as the "start" point for clients.

  • OnConnect - This event is fired when the client succesfuly connects.
  • aSocket is the socket at which the error occured, nil means that the error is not a socket specific one. Arguments are: msg - contains string and numerical representation of error message formatted in native encoding or UTF8 (depending on ForceUTF8 property). If no handler is assigned an excepion with "msg" is raised.
  • OnError - this event is fired whenever a connection error occurs.
  • Sending data to the other side is accomplished with the Send/SendMessage method. Note: address is a string representation of IP eg: '127.0.0.1' or a hostname like 'localhost'. Server connection is initialized with the Listen* call. Non-blocking connect is used, this means that you DON'T know that you're connected until OnConnect event is fired. Arguments are IP address/hostname and port respectivly. Note that this is optional but in mostĬlient connection is initialized with the Connect call. Assign OnAccept, OnError, OnReceive, OnConnect and OnDisconnect event handlers. You can contact the author directly by email or go to #lnet channel on freenode.ĭrop a TLTCPComponent or TLUDPComponent on a form.
  • At, however this advises that the project has been moved to GitHub.
  • They are not recommended for general use. Packaged as utilities for the use of the FPC project itself. There are two variants of the library, which are no longer completely synchronised:

    #Free pascal net license

    License: modified LGPL license (permits static linking).

    free pascal net

    LNet or Lightweight Networking Library is a collection of classes and components to enable event-driven TCP or UDP networking. 13 lNet for FreeBSD, Linux, macOS and Windows.









    Free pascal net