{"id":21707797,"url":"https://github.com/flightaware/tcl-udp-examples","last_synced_at":"2026-03-19T21:07:09.305Z","repository":{"id":31243276,"uuid":"34804715","full_name":"flightaware/tcl-udp-examples","owner":"flightaware","description":"Demos/examples using UDP from Tcl with Tnm and tcludp","archived":false,"fork":false,"pushed_at":"2015-04-29T18:54:48.000Z","size":128,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2023-04-18T10:34:09.883Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Tcl","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flightaware.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-29T16:23:40.000Z","updated_at":"2023-04-18T10:34:09.884Z","dependencies_parsed_at":"2022-09-09T03:40:55.137Z","dependency_job_id":null,"html_url":"https://github.com/flightaware/tcl-udp-examples","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Ftcl-udp-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Ftcl-udp-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Ftcl-udp-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Ftcl-udp-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flightaware","download_url":"https://codeload.github.com/flightaware/tcl-udp-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244657030,"owners_count":20488705,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-25T22:19:17.948Z","updated_at":"2026-01-04T14:08:42.335Z","avatar_url":"https://github.com/flightaware.png","language":"Tcl","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tcl UDP examples\n\nThese examples assume you have scotty installed, for the Tnm examples, and tcludp installed, for the tcludp examples.\n\nWe are using scotty from https://github.com/flightaware/scotty\n\nWe are using tcludp from https://github.com/mpcjanssen/tcludp\n\n* tcludp-client.tcl - run a client that reads from stdin and sends lines to localhost port 7652 using tcludp\n\n* tnm-client.tcl - run a client that reads from stdin and sends lines to localhost port 7652 using Tnm\n\n* tcludp-server.tcl - run a server using tcludp that reads from port 7652 and emits what it gets to stdout\n\n* tnm-server.tcl - run a server using Tnm for udp that reads from port 7652 and emits what it gets to stdout\n\n\n### FreeBSD\n\nWhat we find on FreeBSD is that using either client program, the server program runs \"one message behind\" at all times, meaning the first message is only \"received\" by Tcl after the second message has been received, the second message is only received by Tcl once the third message has been sent and so on.\n\nWhen we change to line buffered, things work better, but we still get a callback every other message with no data (gets returns \u003c 0).\n\n### nc\n\nthis is another way to send:\n\n```\nnc -u 127.0.0.1 7652\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflightaware%2Ftcl-udp-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflightaware%2Ftcl-udp-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflightaware%2Ftcl-udp-examples/lists"}