I have developed an ESME adhering to SMPP, however when reading the pdu length in the header (the first 4 bytes) I sometimes get an EOF exception. I read the first 4 bytes with the readint method of the datainputstream class.
I suspect the Smpp server is closing the connection however while using tcpdump and then reading it with wireshark there is no "FIN" in originating from the server or my end.
So it must be closing abruptly, are there any tools i can use to clearly show that the TCP connection was closed abruptly on there end.
I came across tcpmon not sure it can do what i need though.
Any help will be greatly appreciated.