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

Windows CMake build does not support Unix Domain Sockets #2857

Open
bprager opened this issue Jul 20, 2023 · 1 comment
Open

Windows CMake build does not support Unix Domain Sockets #2857

bprager opened this issue Jul 20, 2023 · 1 comment

Comments

@bprager
Copy link

bprager commented Jul 20, 2023

Windows native CMake build compiles but does not seem to enable Unix Domain Sockets.

It compiles successfully but the broker fails:

> mosquitto.exe --verbose --port \tmp\mosquitto.sock
1689815320: Error: Invalid port specified (0).
@rafael-biz
Copy link

Same problem here with version 2.0.17 on Windows.

I'm trying to start Mosquitto with a Unix Domain Socket listener, but it displays:

1706530473: Error: Invalid port value (0).
1706530473: Error found at .\mosquitto.conf:1.

This is the mosquitto.conf file:

listener 0 /tmp/mosquitto.sock

I'm starting mosquitto this PowerShell command:

& 'C:\Program Files\mosquitto\mosquitto.exe' -c .\mosquitto.conf -v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants