Hi
I am having an application which listens on a particular RPC Port number say 10001 for connection with another device(hardware) using socket programming.
Meanwhile the hardware device will be trying to establish connection to my IP and same port number 10001.
So that way my application and the hardware are connected. Now assume i disconnect the network cable from my machine, my application would still be listening on port number 10001, however it wont receive any connection.
Now if i reconnect the network again then is it possible for me to reuse the same socket which i was using earlier for communicaiton with the hardware.
Do i sound confusing
Thanks