Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example bin local_socket_tokio_server / client quit unexpectedly #77

Open
120MF opened this issue Dec 9, 2024 · 0 comments
Open

Example bin local_socket_tokio_server / client quit unexpectedly #77

120MF opened this issue Dec 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@120MF
Copy link

120MF commented Dec 9, 2024

Describe the bug
The binary of "/example/local_socket/tokio" doesn't show any message after a cargo run.

To Reproduce

git clone https://github.com/kotauskas/interprocess.git
cd interprocess
cargo build
cargo run --example local_socket_tokio_server 
cargo run --example local_socket_tokio_client

then the two binary will quit unexpectedly.

Compiling interprocess v2.2.2 (/root/codings/interprocess)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.75s
     Running `target/debug/examples/local_socket_tokio_server`
Compiling interprocess v2.2.2 (/root/codings/interprocess)
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.73s
     Running `target/debug/examples/local_socket_tokio_client`

Expected behavior
Message sent from client is recieved by server and shown on screen

Additional context
The problem can be reproduced on both Windows 11 and linux devices.
I'm new to rust btw, please remind me if there are any problems in the build and run process. Thank you!

@120MF 120MF added the bug Something isn't working label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant