@kalm/udp
TypeScript icon, indicating that this package has built-in type declarations

7.0.0 • Public • Published

Kalm
Kalm

The Socket Optimizer


Kalm Build Status Snyk Vulnerabilities for GitHub Repo Financial Contributors on Open Collective Join the chat at https://gitter.im/KALM/home

Installing

npm install @kalm/udp

Options

{
    /** The udp socket family (default: udp4) */
    type?: 'udp4' | 'udp6'
    /** The ip address that shows up when calling `local()` (default: '0.0.0.0') */
    localAddr?: string
    /** UDP reuse Address seting (default: false) */
    reuseAddr?: boolean
    /** The maximum idle time for the connection before it hangs up (default: 30000) */
    socketTimeout?: number
}

For more info, refer to the Kalm Homepage

Contribute

If you think of something that you want, open an issue or file a pull request, we'll be more than happy to take a look!

License

Apache 2.0 (c) 2023 Frederic Charette

Package Sidebar

Install

npm i @kalm/udp

Homepage

kalm.js.org

Weekly Downloads

1

Version

7.0.0

License

Apache-2.0

Unpacked Size

7.91 kB

Total Files

4

Last publish

Collaborators

  • kalm-admin
  • fed135