How to Get Local IP by SocketHandle?

I am developing chatroom application - use TServerSocket and TClientSocket to Send and Receive Text I Can get Socket.SocketHandle from computer that sent for me, but how to get local IP (or Computernetname) of that computer.


TCustomWinSocket has RemoteAddress and RemoteHost properties to get the peer's IP and Hostname values, respectively. You do not need to use the SocketHandle property unless you want to call Winsock API functions directly, like getpeername() and getnameinfo().

Need Your Help

Attach iCal File in MFMailComposerController?

iphone icalendar eventkit

I want to add Event in my iPhone Calendar, i Successfully add the Event in my iPhone calendar. But, i want to get the all Current Month event and i want to attach that Event file (.ical) in my

Setting up F# in Visual Studio 2005

visual-studio-2005 f# functional-programming

Are there any decent tutorials for setting up F# in Visual Studio 2005? Everything I have found points at VS2008.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.