GnuCOBOL core library with network functions
Repository: https://gitlab.com/OlegKunitsyn/core-network.git
Dependency | Version | Debug |
---|---|---|
core-datetime | * | No |
gcblunit | * | Yes |
GnuCOBOL 3.x core library with network functions
Name | Description |
---|---|
receive-udp | Receive UDP requests, a UDP server @param l-host Local host name or IP address @param l-port Local port @param l-limit Limit of requests. 0 - unlimited @param l-callback Program-pointer which handles content |
server-stop | |
receive-tcp | Receive TCP requests, a TCP server @param l-host Local host name or IP address @param l-port Local port @param l-limit Limit of requests. 0 - unlimited @param l-callback Program-pointer which handles content |
server-stop |
Name | Description |
---|---|
send-udp | Send UDP datagram |
syslog | Prepare a message in syslog format. RFC 3164 |
Receive UDP requests, a UDP server @param l-host Local host name or IP address @param l-port Local port @param l-limit Limit of requests. 0 - unlimited @param l-callback Program-pointer which handles content
Receive TCP requests, a TCP server @param l-host Local host name or IP address @param l-port Local port @param l-limit Limit of requests. 0 - unlimited @param l-callback Program-pointer which handles content
send-udp(l-host, l-port, l-message)
Send UDP datagram
l-host Remote host name or IP address l-port Remote port l-message Message
Number of bytes sent
syslog(l-logsource, l-program, l-facility, l-severity, l-message)
Prepare a message in syslog format. RFC 3164
l-logsource Logsource name l-program Program name l-facility Facility code l-severity Severity code l-message String encoded in UTF-8
Syslog message
Install and initialize COBOL Package Manager:
$ npm install -g cobolget
$ cobolget init
Add the package to the Manifest
:
$ cobolget add core-network
$ cobolget update
Install the package and its dependencies:
$ cobolget -t bca12d6c4efed0627c87f2e576b72bdb5ab88e34 install
....
Modules modules.cpy and modules.cbl updated.
Directory modules
contains complete COBOL source-code and modules.cpy
Copybook ready for inclusion into your project.
Dependency | Version | Debug |
---|---|---|
core-datetime | * | No |
gcblunit | * | Yes |
GnuCOBOL core library with network functions
Install and initialize COBOL Package Manager:
$ npm install -g cobolget
$ cobolget init
Add the package to the Manifest
:
$ cobolget add core-network
$ cobolget update
Install the package and its dependencies:
$ cobolget -t bca12d6c4efed0627c87f2e576b72bdb5ab88e34 install
....
Modules modules.cpy and modules.cbl updated.
Directory modules
contains complete COBOL source-code and modules.cpy
Copybook ready for inclusion into your project.
See coboldoc documentation.
Dependency | Version | Debug |
---|---|---|
core-datetime | 2.x | No |
gcblunit | * | Yes |
GnuCOBOL 2.x core library with network functions
Install and initialize COBOL Package Manager:
$ npm install -g cobolget
$ cobolget init
Add the package to the Manifest
:
$ cobolget add core-network
$ cobolget update
Install the package and its dependencies:
$ cobolget -t bca12d6c4efed0627c87f2e576b72bdb5ab88e34 install
....
Copybook modules.cpy updated.
Directory modules
contains complete COBOL source-code and modules.cpy
Copybook ready for inclusion into your project.
See coboldoc documentation.
Dependency | Version | Debug |
---|---|---|
core-datetime | * | No |
gcblunit | * | Yes |
GnuCOBOL core library with network functions
Send UDP datagram
Prepare a message in syslog format. RFC 3164
Receive UDP requests, a UDP server
Receive TCP requests, a TCP server
Dependency | Version | Debug |
---|---|---|
core-datetime | * | No |
gcblunit | * | Yes |
GnuCOBOL core library with network functions
Send UDP datagram
Prepare a message in syslog format. RFC 3164
Dependency | Version | Debug |
---|---|---|
core-datetime | * | No |
gcblunit | * | Yes |
GnuCOBOL core library with network functions
If you have found an issue or a vulnerability, please submit the report below