pp-connect-udp

Synopsis

(pp-connect-nic port-number udp-port threads)

Parameters

  • port-number
  • udp-port
  • threads

Description

This procedure starts an UDP server listening on the specified udp-port.

Side Effects

A notice log message is sent to the logging queue on success.

Return Value

ok or #f

Example

> (pp-set-name 0 "udp-test")
ok
> (pp-connect-udp 0 12345 1)
ok
2022-07-07 18:09:59 NTC UDP server now active fd=3, port=12345
>