How to find network availability and broadcast ip #3

I am using xe7.1 and I need to make a cross platform application that uses 
TIdUDPServer 

I will exchange UDP packets with other devices in the same network

However i need to:

1) know if there is a network available (no need of internet, just a local 
network)
2) calculate the broadcast ip, since using the 255.255.255.255 is blocked 
in many home routers.

I prefer using Indy in a way that can be trully cross platform. 

Many thanks for any help...

Eduardo
0
Eduardo
7/8/2015 11:51:55 PM
embarcadero.delphi.winsock 1874 articles. 2 followers. Follow

4 Replies
631 Views

Similar Articles

[PageSpeed] 35

This will get you started:

http://delphi.radsoft.com.au/2013/11/checking-for-an-internet-connection-on-mobile-devices-with-delphi-xe5/
0
Eli
7/9/2015 12:09:39 AM
Eduardo wrote:

> I prefer using Indy in a way that can be trully cross platform.

Different platforms implement different APIs to discover network information. 
 Indy does have a TIdStack.GetLocalAddressList() method for discovering local 
network addresses, however at this time it does not provide broadcast IPs 
(that is on the TODO list), and it provides subnet masks (which can be used 
to calculate broadcast IPs) only for IPv4 networks on Windows, OSX, and iOS. 
 For any other platform, you will have to resort to using platform-specific 
APIs manually.

-- 
Remy Lebeau (TeamB)
0
Remy
7/9/2015 12:19:28 AM
Eduardo wrote:

> I prefer using Indy in a way that can be trully cross platform.

Different platforms implement different APIs to discover network information. 
 Indy does have a TIdStack.GetLocalAddressList() method for discovering local 
network addresses, however at this time it does not provide broadcast IPs 
(that is on the TODO list), and it provides subnet masks (which can be used 
to calculate broadcast IPs) only for IPv4 networks on Windows, OSX, and iOS. 
 For any other platform, you will have to resort to using platform-specific 
APIs manually.

-- 
Remy Lebeau (TeamB)
0
Remy
7/9/2015 12:23:41 AM
Eli wrote:

> This will get you started:
> 
> http://delphi.radsoft.com.au/2013/11/checking-for-an-internet-connecti
> on-on-mobile-devices-with-delphi-xe5/

Nice read, but that does not really provide the information that Eduardo 
is looking for.

-- 
Remy Lebeau (TeamB)
0
Remy
7/9/2015 1:15:40 AM
Reply:

Similar Artilces:

How to find network availability and broadcast ip
I am using xe7.1 and I need to make a cross platform application that uses TIdUDPServer I will exchange UDP packets with other devices in the same network However i need to: 1) know if there is a network available (no need of internet, just a local network) 2) calculate the broadcast ip, since using the 255.255.255.255 is blocked in many home routers. I prefer using Indy in a way that can be trully cross platform. Many thanks for any help... Eduardo ...

How to find network availability and broadcast ip #2
I am using xe7.1 and I need to make a cross platform application that uses TIdUDPServer I will exchange UDP packets with other devices in the same network However i need to: 1) know if there is a network available (no need of internet, just a local network) 2) calculate the broadcast ip, since using the 255.255.255.255 is blocked in many home routers. I prefer using Indy in a way that can be trully cross platform. Many thanks for any help... Eduardo ...

How to find network availability and broadcast ip #5
I am using xe7.1 and I need to make a cross platform application that uses TIdUDPServer I will exchange UDP packets with other devices in the same network However i need to: 1) know if there is a network available (no need of internet, just a local network) 2) calculate the broadcast ip, since using the 255.255.255.255 is blocked in many home routers. I prefer using Indy in a way that can be trully cross platform. Many thanks for any help... Eduardo ...

How to find network availability and broadcast ip #4
I am using xe7.1 and I need to make a cross platform application that uses TIdUDPServer I will exchange UDP packets with other devices in the same network However i need to: 1) know if there is a network available (no need of internet, just a local network) 2) calculate the broadcast ip, since using the 255.255.255.255 is blocked in many home routers. I prefer using Indy in a way that can be trully cross platform. Many thanks for any help... Eduardo ...

How to find network availability and broadcast ip #6
I am using xe7.1 and I need to make a cross platform application that uses TIdUDPServer I will exchange UDP packets with other devices in the same network However i need to: 1) know if there is a network available (no need of internet, just a local network) 2) calculate the broadcast ip, since using the 255.255.255.255 is blocked in many home routers. I prefer using Indy in a way that can be trully cross platform. Many thanks for any help... Eduardo PLEASE IGNORE THIS POST.... SOMEHOW MY NNTP CLIENT DUPLICATED IT Hello Eduardo, > I am using xe7.1 and I n...

196.3.3.1 isn't a local network IP address.
Dear Readers, We have a very haphazard network in our high school that links together using hybrid topologies--Ring by far dominates--numerous computers in different departments at close proximity. I'll draw the network structure as best as I can: 20 computers connected to each other using two hubs that includes Dell server, all running Windows 2000 with one workstation that I installed Linux Red Hat 8.0 on. This is connected to another isolated computer nearby in the administrator's room. Then we have about 7 computers in the library, which is then further connected to ...

TCP/IP Winsock networking programing?
I have callcenter, it send data to tcp/ip port number, ex 8383, now i want to write socket program to read data from that port. Any body help me? How can i do that? Thanks,   i have program in only c#.net with using of socket commmunication Ranganathan Palanisamy,Bangalore.  Hi,This can be achieved via Sockect. 1. Instantiate a Sockect object 2. Listen on 8383 port3. Use Recieve method to read data.For more information about socket, please refer to :http://msdn2.microsoft.com/EN-US/library/system.net.sockets.socket.aspxhttp://msdn2.microsoft.com/en-us/library/system.net....

delphi.internet.winsock
I was having some issues with XanaNews so I went to the Emb web version and was getting... delphi.internet.winsock - group not available. The server is throwing HTTP Status 500. Anyone else having trouble with newsgroups. Many other groups seem ok. -- Ray El 02/02/2014 8:05, Raymond Alexander escribió: > I was having some issues with XanaNews so I went to the Emb web version > and was getting... > > delphi.internet.winsock - group not available. > > The server is throwing HTTP Status 500. > > Anyone else having trouble with newsgroups. ...

Miramar (Thunderbird 3.3) Alpha 3 available for testing
Miramar Alpha 3, available here for download, is for testers, extension developers, and friends who are curious to follow the development of our next release of Thunderbird. Miramar Alpha 3 is built on top of Gecko 2.0 and includes tab reordering with drag and drop into new windows, a revised account creation wizard to improve set-up, and numerous other bug fixes. We expect to release further interim releases as we work towards the next major version of Thunderbird. Please read the release notes for more details. * Miramar Alpha 3 Overview: http://www.mozillamessaging.co...

Finding IP and IP Location
Hi, I want to get the IP or the give URL and then to find the Location of that IP...in a web application... Please suggest!  Regards.  Trystring sIp = Request.UserHostAddress;orDim sIp As String  = Request.UserHostAddressTo convert IP address into location, go to www.dnnsstuff.comHowever  IP address lookup is not always reliable e.g. IP Addresses got from a poolIP addresses for Manager user although in reality fixed, may be attributed to country of service provider not the actual country.Don't forget to click "Mark as Answer" on the post that helpe...

Re: Miramar (Thunderbird 3.3) Alpha 3 available for testing
Bugs found: - Ctrl-TAB doesn't work - F6 doesn't work when focus is on a collapsed thread Back to 2.0.0.24. Mark On 17/03/2011 12:47, enkitec@gmail.com wrote: > > Bugs found: > > - Ctrl-TAB doesn't work Can you file a bug on that please? The only issues I can see are about accessibility events which I don't think is what you are describing. > - F6 doesn't work when focus is on a collapsed thread This appears to be this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=577925 Standard8 On 3/17/2011 8:47...

German Language Packs for DotNetNuke 3.3 and 4.3 available
Shortly after the release candidates of the lates DotNetNuke versions have been published, the German Language Packs are available for download at www.DeutschNetNuke.de. All module translations are included and will be available for separate downloas shortly.Sebastian Leupoldgamma concept mbHDeutschNetNuke = DotNetNuke in GermanDNN Project UserDefinedTable...

SUSE 11.3 no network access with static IP
Hello, New SUSE 11.3 install connects to network/internet etc OK with DHCP-assigned IP address. When I switch to static IP, I can no longer ping internal network, or anything else. This works OK with SUSE 11.2 on same hardware and (as far as I can see) same setup. Some diagnostics are shown below. Hope you can help. Fmc ------------------------------------------------------------------------------- FIREWALL Disabling the firewall makes no difference. Not using a *network manager* (can't see how to assign fixed address if I do - all greyed out). IFUP ETH0: eth...

Thunderbird 3.1.3 and 3.0.7 beta available for testing
Candidate builds of Thunderbird 3.1.3 and 3.0.7 are now available for testing. Note: these are intended for pre-release testing and are not recommended for production use. Download You can get the Thunderbird 3.1.3 builds here: http://ftp.mozilla.org/pub/thunderbird/nightly/3.1.3-candidates/build1/ You can get the Thunderbird 3.0.7 builds here: http://ftp.mozilla.org/pub/thunderbird/nightly/3.0.7-candidates/build1/ Update If you have previously downloaded a beta version of Thunderbird 3.1 or Thunderbird 3 or have manually set your copy to be using the "beta" rel...

Web resources about - How to find network availability and broadcast ip #3 - embarcadero.delphi.winsock

Hillary Clinton and President Obama Met for ‘Informal Lunch’ at The White House
Democratic presidential frontrunner Hillary Clinton met with President Barack Obama for an “informal lunch” Monday, the White House confirms. ...

Hear Chvrches Perform A Love Song Written By A 14-Year-Old For His Crush
I wrote in a diary nearly every day when I was in the 6th grade. Sitting in the back of the classroom, I would slander my peers, scribble down ...

‘Sicario’ Scribe Taylor Sheridan On Next Projects & Brutality In Drug War Film: “I Didn’t Make That Up” ...
This year, Taylor Sheridan made the transition from actor to screenwriter with his film Sicario , a border thriller directed by Denis Villeneuve ...

Chrome for Android gets Google Safe Browsing
Google Safe Browsing is now available by default on Chrome for Android, lending the same protective features for mobile users that it has for ...

Justices Reject Challenge to Local Assault Weapons Ban
TIME Justices Reject Challenge to Local Assault Weapons Ban ABC News Acting in the aftermath of the San Bernardino mass shooting, the Supreme ...

Venezuela opposition wins majority in legislature
Opposition wins control of National Assembly by a landslide, delivering major setback to the long-ruling socialists.

This small town has the most ultra-luxury homes in all of Silicon Valley
Atherton, California, is a small town filled with big price tags. Bordered by Palo Alto and Menlo Park in the heart of Silicon Valley, Atherton ...

Dropbox trashes Mailbox and Carousel
It would appear that both Mailbox and Carousel have not been nearly popular enough for Dropbox to continue running the lot. The one is used for ...

Kim Kardashian & Kanye West named their son Saint West: love it or hate it?
Well, it’s really not as bad as it could have been. While I was really rooting for Kim Kardashian and Kanye West to name their child True or ...

China’s on red alert after smog reaches record high
China has issued its first ever red alert in Beijing related to smog levels, doing so as the levels of pollution in parts of China reach all ...

Resources last updated: 12/7/2015 10:55:23 PM