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.
Hi,
Have use found any solution in MQX 4.1 for socket reusage ?
I'm porting Linux application into MQX and I'm experiencing shortage of socket options. SO_REUSEADDR is one of them.
I suppouse the only walkaround is to call shutdown() and later recreate new socket...