[Migrated content. Thread originally posted on 28 December 2010]
Hi All,I am trying to send the data to a port using c$socket in AcuCOBOL GT (version 6.2). Another process is waiting in that port to receive the data in localhost.
But the COBOL program getting hung when it tried to close the connection.
close-socket.
@ call "c$socket" using ags-close, ws-socket-handle.When i check the port status in unix i could see the following status for port 32802
tcp 0 0 0.0.0.0:32802 0.0.0.0:* LISTEN
tcp 629 0 127.0.0.1:32802 127.0.0.1:32917 CLOSE_WAIT
tcp 0 0 127.0.0.1:32804 127.0.0.1:32802 FIN_WAIT2
tcp 0 0 127.0.0.1:32917 127.0.0.1:32802 FIN_WAIT2
tcp 0 0 127.0.0.1:32802 127.0.0.1:32804 CLOSE_WAIT
Earlier the same code was working fine. But suddenly i am getting this issue. Even I tried after restarting the server.
Please help me if any one have any idea.
--Mano



