About TCP Connection Persistentance
Hi everyone
Nowadays, I am developing a server program which communicate with mobile client on CDMA network
So, the client acts like DHCP client which means its ip address is dynamically set at any time
It was no problem just client send its request then server response the data wanted
but I have met some trouble because
server have to send request message to client
There are several further condition here
first client sends login message and socket session
second server have to cache the information from client ( ip, port, login information, socket TCP session)
third there is some other client (not mobile client) request information about mobile client then, server request moblie client on cached TCP session
last is optional but I want to use NIO Socket...
I am entirely new to this topic
I can not handle with this problem.......
my problem is
I don't have any kownledge about caching TCP Session
Also, I don't know how to find a proper mobile client at the time when the other client request information for mobile client cached client TCP Session
If there is anyone who have experience with this problem
I may ask the solution how to achive my goal
or some mechanism for that
thanks for reading.....

