AnsweredAssumed Answered

socket disconnect shutdown reconnect error

Question asked by David Santana on Dec 2, 2014
Latest reply on Mar 18, 2015 by Maciej Wdowiarz-Bilski

When a socket is disconnected either through an error or by software, and the socket is shutdown

how do we reuse the same socket connection. "Reuse the socket address/memory"?


In Linux there is a setsockop(sockert, SOL_SOCKET, SO_REUSEADDR, opt,sizeof(opt))


What is the MQX equivalent for SO_REUSEADDR?


When trying to bind() to the same socket an error is returned.