Update the TcpClient, TcpServer, Udp to allow reconnection on send as it does already on the recv loop. Add in a close port to these components such that other components may close the connection.
[ ] Add a mutex as member to components
[ ] Expose mutex (or lock/unlock) through the getHandler() inteface
[ ] Lock/unlock mutex on recv thread reconnect
[ ] Add lock, reconnect, unlock to the send call
[ ] Add a close port to each component that will call close
Feature Description
Update the TcpClient, TcpServer, Udp to allow reconnection on
send
as it does already on the recv loop. Add in aclose
port to these components such that other components may close the connection.getHandler()
intefacerecv
thread reconnectRationale
Allows better interaction with sockets.