/module-ballerina-tcp

Ballerina socket module

Primary LanguageJavaApache License 2.0Apache-2.0

Ballerina TCP Library

Build GitHub Last Commit Github issues License codecov
The TCP package is one of the standard library packages of the Ballerina language.

This package provides an implementation for sending/receiving messages to/from another application process (local or remote) for connection-oriented protocols.

For more information on the operations supported go to The TCP Package.

For example demonstrations of the usage, go to Ballerina By Examples.

Issues and Projects

Issues and Projects tabs are disabled for this repository as this is part of the Ballerina Standard Library. To report bugs, request new features, start new discussions, view project boards, etc. please visit Ballerina Standard Library parent repository.

This repository only contains the source code for the package.

Building from the Source

Setting Up the Prerequisites

  1. Download and install Java SE Development Kit (JDK) version 11 (from one of the following locations).

    • Oracle

    • OpenJDK

      Note: Set the JAVA_HOME environment variable to the path name of the directory into which you installed JDK.

Building the Source

Execute the commands below to build from source.

  1. To build the package:

     ./gradlew clean build
    
  2. To build the package without the tests:

     ./gradlew clean build -x test
    
  3. To debug the package tests:

     ./gradlew clean build -Pdebug=<port>
    

Contributing to Ballerina

As an open source project, Ballerina welcomes contributions from the community.

For more information, go to the contribution guidelines.

Code of Conduct

All contributors are encouraged to read the Ballerina Code of Conduct.

Useful Links