Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

"Connection refused" error from ping-client.scm #120

@kakafarm

Description

@kakafarm

When running guile ping-server.scm and in another shell guile ping-client.scm 1 1, I get the following error message from the guile ping-client.scm 1 1 incantation:

Uncaught exception in task:
In fibers.scm:
   186:20  3 (_)
   145:21  2 (_)
In /home/yuval/foo/random-files-and-notes/2025-03-21-fibers-examples/ping/client.scm:
     52:0  1 (run-ping-test _ _)
In ice-9/boot-9.scm:
  1685:16  0 (raise-exception _ #:continuable? _)
ice-9/boot-9.scm:1685:16: In procedure raise-exception:
Wrong number of arguments to #<procedure run-ping-test (num-clients num-connections)>

ping-server.scm and ping-client.scm from fibers commit 96cd1f4.

https://github.com/wingo/fibers/blob/96cd1f4d4639b5c0f0b2fb7ebfd29b339a368dcc/examples/ping-server.scm
https://github.com/wingo/fibers/blob/96cd1f4d4639b5c0f0b2fb7ebfd29b339a368dcc/examples/ping-client.scm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions