delphi - How to Get Local IP by SocketHandle? -


i developing chatroom application - use tserversocket , tclientsocket send , receive text can socket.sockethandle computer sent me, how local ip (or computernetname) of computer.

tcustomwinsocket has remoteaddress , remotehost properties peer's ip , hostname values, respectively. not need use sockethandle property unless want call winsock api functions directly, getpeername() , getnameinfo().


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -