HAH! Sun

Results 64 comments of HAH! Sun

ah yes. it worked. thank you.

I see that a dish binds and a radio socket connects in https://github.com/pebbe/zmq4/blob/90d69e412a09549f2e90bac70fbb449081f1e5c1/draft/zmq42draft_test.go. is this the way radio/dish is meant to be? I thought radio/dish behaves like a PUB/SUB pattern...

In fact, I can't bind on a dish socket in my code. so I guess the test is wrong or maybe I misunderstood something.

I found the reason for this: http://api.zeromq.org/4-2:zmq-udp >"With udp we can only connect the ZMQ_RADIO socket type." since I am using tcp, it is the other way round. radio binds,...

@sbhushan87 I didn't have to install the draft version. radio/dish was already included in libzmq back then. it is only treated as a draft in pebbe's zmq4. someone correct me...

try the following: ``` CGO_CPPFLAGS="-I/usr/include" CGO_LDFLAGS="-L/usr/lib -L/usr/lib/x86_64-linux-gnu -lzmq -lpthread -lsodium -lrt -lstdc++ -lm -lc -lgcc" go build -v --ldflags '-extldflags "-static"' -a subscriber.go ``` change directories accordingly, if necessary.

I solved this issue by moving the command invocation into my `main:go` (where I start the echo webserver): ``` cmd := exec.Command("/usr/bin/xdotool", "search", "--onlyvisible", "--classname", "Navigator", "key", "F5") err :=...

> The main drawback with this refresh command is that it will only refresh the current, visible tab. So it won't refresh the working page unless it's open. I wish...