I'm using Delphi 4, and I want to create a standard non blocking socket with out the clutter of Indy code (Pv4 and Pv6). and i want to get the computers IP address and be able to ping has any one done this. Can I do it with Indy 10 or Indy 9. And has any one made code up to do any of these things and tested it please.
1
There are 1 best solutions below
Related Questions in DELPHI
- How can I read the header of request to webserver
- Receiving Notifications for Individual Task Completion OmniThreadLibrary Parallel.ForEach
- Delphi - How to get result of function from QuickReport without viewing a report?
- Out of memory while adding documents to a Firebird BLOB field with Delphi
- How to MakeScreenshot fullpage on Delphi
- How to program a COM object with an IEnumerator, IEnumerable interface inside
- How to Dynamically Add Controls to Delphi Form
- How to write a string in Stringrid with DelimitedText in FMX Delphi 11
- TGrid/TStringGrid multi cell selection / multi editing in delphi firemonkey (12)
- How to localize "Today" in the Delphi TMonthCalendar?
- How can I call a SOAP webserver method in Vue.js?
- Efficiently Handling Large Number of API Calls with Delphi 10.4 and OmniThreadLibrary
- Delphi can not compile the unit create by its "XML Data Binding Wizard"
- Save Form Properties in File and then restore those Properties after reopening
- Is it possible to open a blob without saving it to file
Related Questions in INDY
- How to process MIME format with inline image separated into a different boundary using TIdMessage?
- How to correctly read an endless stream from InternetRadio using Indy TIdHTTP?
- How to connect to VoiceRSS API with my Lazarus/Delphi program?
- Can I make a TIdMappedPortTCP proxy specific clients to different destinations?
- HTTP 500 Error with Delphi Indy SOAP WSSE
- How to use TIdHTTPServer with visual components?
- Problems using GStack->GetLocalAddressList(LList) in C++
- Cannot find the declaration of element 'XML_Element' under C++Builder
- Indy HTTP Server ARequestInfo.Params.Text Encoding Wrong
- Load image from URL into a TImage
- Indy UDP communications IP/Port confusion
- Indy support for current OpenSSL
- Which TIdSMTP/SSLIOHandler event should trigger when TLS negotiation fails?
- Connection Closed Gracefully on IOHandler.ReadLn Solution at IdTcpClient
- Encountering 'Socket Error # 10053' while transferring files using TIdTCPClient and TIdTCPServer
Related Questions in INDY10
- How to handle the "Could Not Load SSL Library" error in Delphi 7 when Posting JSON Data
- How to use TIdHTTPServer with visual components?
- Authentication failure for AWS SMTP on Android 64
- How to receive text from Server to Client in Indy 10 TCP/IP in Delphi 7?
- Problem reconnecting SMTP on one TIdSMTP instance
- Encountering 'Socket Error # 10053' while transferring files using TIdTCPClient and TIdTCPServer
- Indy 10 OpenSSL load library error on MacOS
- Slow emailing with Indy
- Indy 10 and Xmailer : "Could Not Load SSL Library" or "SSL Error"
- TIdDecoderMIME.DecodeString loses last decoded character
- Usage of LF on ReadLn in TIdTCPServer and WriteLn in TIdTCPClient
- How to request insecure SSL with TIdHTTP?
- TIdMessage.SaveToStream does not save properly
- Delphi Indy10 IMAP Decoding MIME attachment
- IdhttpServer basic authentication not encrypted?
Related Questions in DELPHI-4
- (NOT) Validate 'any key' + DELETE pressed on Delphi 4
- Obtain YYYYMM String from Now in Delphi 4
- Old project cannot be compiled in Delphi 4 due to pointers issue
- Inherit uses from parent class
- TRichEdit finding protected text
- Unicode in Delphi 4
- How to define IInterface type for Delphi 4
- How to add tasks entry to taskbar with Delphi 4?
- Delphi TImageList bitmaps spontaneously convert themselves from color to black & white
- Stringlist sort progress bar
- What icon resources are relevant to windows 8?
- IWebBrowserDisp ole2 interface cannot open IE window to front of the screen
- Programmatically adding columns to a TdxDBGrid (Expressquantumgrid by Devexpress)
- PDF printed as garbage with Brother printers
- How do I free the contents of a TList?
Related Questions in INDY-9
- How can I put images in the body of a message in delphi 7?
- How can I get just the expiry date of a domain name using Indy in Delphi 10.3.3 Pro?
- Delphi 10.4 and INDY 9
- C++ Builder - Indy - Receiving certified emails
- TIdX509 calculates cert fingerprint 16 bytes instead of 20
- IdMappedPortTCP now requires "prodding" after telnet connection
- How to send a DELETE request with Indy 9?
- Indy 9 + OneDrive create folder error
- Indy SMTP Server and Telnet
- Applications using Indy9 and Indy10
- Send emoji with indy delphi7
- Delphi - Why udp data packet is different?
- Memo Line Breaks
- Delphi Redirect SSL tcp data to other port no ssl
- delphi 7, indy tcp proxy without remote server
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Indy officially stopped supporting Delphi 4 a long time ago. Delphi 5 is the earliest version still supported. Delphi has its own socket classes - TClientSocket and TServerSocket - which can operate in both blocking and non-blocking modes. Indy operates strictly in blocking mode only.
Without using Indy, you can get the machine's IP(s) using either the WinSock API's gethostname and gethostbyname functions, or the Win32 API's GetAdapterAddresses or related functions, and use the Win32 API IcmpSendEcho function to ping.