fhmq / hmq

High performance mqtt broker
Apache License 2.0
1.32k stars 273 forks source link

fix(broker):Added windows pipe communication #50 #201

Closed xinkonglili closed 4 months ago

xinkonglili commented 4 months ago

I used the open source project npipe, which nicely encapsulates the operation of the Windows pipe and returns a net.Conn type connection, compatible with hmq, making it very convenient for Windows users like us. I noticed that in the last committed Unix socket communication, the name UnixSocket is not standard, it should be unixSocket. I'm terribly sorry.

chowyu08 commented 4 months ago

image

xinkonglili commented 4 months ago

StartPipeSocketListening A channel created for the windows system

xinkonglili commented 4 months ago

All checks have passed,I added pipe socket conditions for different systems @chowyu08