lNet examples

From Lazarus wiki
Revision as of 02:04, 18 March 2022 by Trev (talk | contribs) (→‎See also: New section)
Jump to navigationJump to search
Note-icon.png

Tip: You can use the non-visual code in Lazarus applications. This is necessary for macOS because lNet visual components do not support the Cocoa or Carbon widget sets. To successfully compile the lNet library and non-visual code examples on macOS requires the lNet version available from https://github.com/trevoz/lnet which has many changes made to it so that it will compile on macOS 10.14 and later.

lNet provided console (non-visual) code examples

In the lNet examples/console/ directory you will find example programs for:

  • FTP
  • HTTP
  • SMTP
  • TCP
  • Telnet
  • UDP

lNet provided visual code examples

In the lNet examples/visual/ directory you will find example programs for:

  • FTP
  • HTTP
  • SMTP
  • TCP and UDP (combined)
  • Telnet

These examples will not compile on macOS because lNet has no interface bindings for the Cocoa or Carbon widget sets.

Lazarus SMTP example client

'To come'

See also