Code Monkey home page Code Monkey logo

lnet's Introduction

Updated to compile on FreeBSD, Linux, macOS and Windows

Quite a few changes were required, but all the examples now compile with FPC 3.2.2 or 3.3.1 on:

  • FreeBSD (tested on 13.0-RELEASE)
  • Linux (tested on Ubuntu 21.10 - Note: TLS does not work)
  • macOS 10.12 and later
  • Windows (tested on 10 with updated SSL libraries - see OpenSSL.pas for details)
  • All insecure TLS/SSL methods have been removed (ie SSL2, SSL3, TLS v1, TLS v1.1) leaving TSL v1.2 and TLS v1.3

Instructions:

  1. Compile with FPC 3.2.2 or FPC 3.3.1
  2. Download a ZIP file and unzip
  3. cd to the lnet-master directory
  4. run make (this compiles the library and console examples - there are no Cocoa/Carbon hooks for the visual components, so they do not compile for macOS)
  5. For Lazarus, add the path to lnet-master/lib to the Project Options > Paths - "Other unit files" OR
  6. For FPC, use -Fu to add the path to lnet-master/lib

Original ReadMe Content

Lightweight Networking Library

These units are an asynchronous, TCP/UDP communications classes. LTCP, LUDP, LTELNET, LFTP and LSMTP are example programs.

Use the makefile to compile the lib as well as examples.

All programs are compiled with Free Pascal 2.0.4 (http://www.freepascal.org)

Copyright (c) 2005-2018 by Ales Katona and Micha Nelissen.

lNet as of version 0.6+ uses OpenSSL when SSLSession is used.

LICENSING

lNet units (units in lib and lazaruspackage directories) are licensed under a modified LGPL license. See file lib/LICENSE and lib/LICENSE.ADDON.

The modification allows to static/smart - link lNet libraries into binary applications without providing sources.

Example programs are provided under unmodified gnu GPL. See examples/LICENSE for more information.

INSTALLING

See file INSTALL.md for more information.

lnet's People

Contributors

almindor avatar cipher2k avatar doooc avatar pascalcorpsman avatar serbod avatar trevoz avatar zamronidomino avatar zamronypj avatar

Stargazers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.