well , in fact , i don't believe the message from client... it can forge param, can't it?
On 2011-10-24, at 上午11:21, 陈竞 wrote: > my method is let you ip be the param of you interface , and tranfer to > server, and so that server can get it > > 2011/10/24 stream <[email protected]> > >> Well, i just wanna mark the record of client with its ip address. >> i think is the best way to write a subclass of TServerSocket. >> there are any other's? >> >> >> On 2011-10-24, at 上午10:39, Mike Riley wrote: >> >>> It looks like subclassing TServerSocket/TNonBlockingServerSocket (and >>> your chosen server class) will allow you to access the IP address (or >>> hostname) pretty easily right from the Sockets they manage so that's >>> what you're shooting for I guess... >>> >>> On Sun, Oct 23, 2011 at 10:15 PM, stream <[email protected]> wrote: >>>> well, is my fault ,not clear the description . >>>> the library is Java... thank Mike firstly... >>>> >>>> On 2011-10-24, at 上午9:20, Mike Riley wrote: >>>> >>>>> plac >>>> >>>> >> >> > > > -- > 陈竞,中科院计算技术研究所,高性能计算机中心 > Jing Chen HPCC.ICT.AC China
