Closed akzi closed 6 years ago
when I use zmq4 to sub a pub service(c++ zmq pub service),
msg, err := socket.Recv(0) if err != nil { log.Errorf(err.Error()) continue } file.WriteString(msg)
and all the msg end with ^@ ^@ in vim \x00 in python terminal
^@
it is a \0 in C /C++ language.
when I use zmq4 to sub a pub service(c++ zmq pub service),
msg, err := socket.Recv(0) if err != nil { log.Errorf(err.Error()) continue } file.WriteString(msg)
and all the msg end with
^@
^@ in vim \x00 in python terminal