Closed tdonovic closed 5 years ago
When trying to use mdcli2 api, it doesn't work. There is no defer close, so the socket is closed too early and no messages are sent. Adding this fixes the issue and makes the example code work again.
Need to do more testing
When trying to use mdcli2 api, it doesn't work. There is no defer close, so the socket is closed too early and no messages are sent. Adding this fixes the issue and makes the example code work again.