|
Hey all:
I
write a simple server application in Java that run on an AS/400 and is sending
and receiving data by DTAQ to an RPG application. That work very
fine.
But
it uses TCP/IP (Socket and ServerSocket) to sending and receiving data to
clients. The problen that i have is that i can't detect when the client
disconnect from de Socket. I am not receiving any error or null data from it. I
test it in a Windows NT and run fine. I read about that the parameter of
TCP/IP, SO_KEEPALIVE, is not suported in Java.
Do
you have any suggestion? Thank you.
P.D.:
Sorry for my english.
|
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.