Relative Content

Tag Archive for socketscommunicationtcplistenertcpserverdnp3

When I close the socket it always going to close wait state which is disturbing the communication

I need information about DNP3 Communication .When Network /Ethernet communication is inactive for sometime and reconnected does DNP3 automatically establishes the communication?
In my case, when communication failure occurred for sometime and reconnected DNP3 communication is not happening.
When I verified code The socket is in Socket Established State even network communication is inactive then I tried to close the socket connection .
Socket closed->Socket open->Socket init(listen mode)->Socket Established->Socket Close Wait->Socket closed. This is repeating everytime
It is going to Socket Close wait State every time .
Do you have sample code for this issue?