Need help to debug Winsockts Protocol

Scenario:

Performing the Operation for Order in which status should change from Queued to completed in an Application invoked from command promt.exe

But the script workd fint till generating LPN for the Order.(Till half its working)

Second part is not actually happening.

But script passed successfully.

Checked the Advance log and the request sent and received were similar to the data.ws recorded.

can someone help me how to debug Winsockets LR Scripts?