Click here to Skip to main content
15,889,369 members
Home / Discussions / Windows Development
   

Windows Development

 
QuestionHelp me! Pin
Member 1492738231-Aug-20 8:33
Member 1492738231-Aug-20 8:33 
AnswerRe: Help me! Pin
Mycroft Holmes31-Aug-20 12:18
professionalMycroft Holmes31-Aug-20 12:18 
AnswerRe: Help me! Pin
RedDk1-Sep-20 8:03
RedDk1-Sep-20 8:03 
QuestionHow to check retrived IP address from DHCP server for conflict ? Pin
Eugene Pustovoyt1-Aug-20 8:01
Eugene Pustovoyt1-Aug-20 8:01 
AnswerRe: How to check retrived IP address from DHCP server for conflict ? Pin
Dave Kreskowiak1-Aug-20 8:42
mveDave Kreskowiak1-Aug-20 8:42 
GeneralRe: How to check retrived IP address from DHCP server for conflict ? Pin
Eugene Pustovoyt1-Aug-20 20:05
Eugene Pustovoyt1-Aug-20 20:05 
GeneralRe: How to check retrived IP address from DHCP server for conflict ? Pin
Dave Kreskowiak2-Aug-20 5:32
mveDave Kreskowiak2-Aug-20 5:32 
What are you writing? This is all handled by the network stack, so a normal application wouldn't even know this was going on.

If the IP is already bound to the adapter, you have no way of knowing that because if you try to ping it using the easy and normal methods, you'll only get a response from your own machine, like "ping localhost".

If you try to do this before the IP is bound to the adapter, you don't have an IP yet, so you can't use the easy and normal methods here either because they rely on the IP already being set. So the only way to do this would be digging deeper into the network stack and crafting your own packets, and that take admin permissions to be able to do that. A normal user wouldn't be able to do that.

In the real world, DHCP servers can be setup to do this themselves, and it's also managed by reserving ranges of IP addresses for static allocation, "ad-hoc allocation", and other ranges for dynamic allocation. Today, you would be hard pressed to get an IP that was in use already from the server.

GeneralRe: How to check retrived IP address from DHCP server for conflict ? Pin
Eugene Pustovoyt2-Aug-20 6:34
Eugene Pustovoyt2-Aug-20 6:34 
GeneralRe: How to check retrived IP address from DHCP server for conflict ? Pin
Dave Kreskowiak2-Aug-20 9:38
mveDave Kreskowiak2-Aug-20 9:38 
GeneralRe: How to check retrived IP address from DHCP server for conflict ? Pin
Eugene Pustovoyt3-Aug-20 4:59
Eugene Pustovoyt3-Aug-20 4:59 
GeneralRe: How to check retrived IP address from DHCP server for conflict ? Pin
Dave Kreskowiak3-Aug-20 5:07
mveDave Kreskowiak3-Aug-20 5:07 
GeneralRe: How to check retrived IP address from DHCP server for conflict ? Pin
Richard MacCutchan3-Aug-20 5:16
mveRichard MacCutchan3-Aug-20 5:16 
AnswerRe: How to check retrived IP address from DHCP server for conflict ? Pin
Randor 15-Aug-20 8:52
professional Randor 15-Aug-20 8:52 
GeneralRe: How to check retrived IP address from DHCP server for conflict ? Pin
Eugene Pustovoyt16-Aug-20 3:52
Eugene Pustovoyt16-Aug-20 3:52 
GeneralRe: How to check retrived IP address from DHCP server for conflict ? Pin
Randor 16-Aug-20 8:34
professional Randor 16-Aug-20 8:34 
GeneralRe: How to check retrived IP address from DHCP server for conflict ? Pin
Eugene Pustovoyt16-Aug-20 18:08
Eugene Pustovoyt16-Aug-20 18:08 
QuestionWhy are there 19863 subfolders in Windows/Winsxs/ ? Pin
Stefan_Lang3-Jul-20 0:16
Stefan_Lang3-Jul-20 0:16 
GeneralRe: Why are there 19863 subfolders in Windows/Winsxs/ ? Pin
Graham Breach3-Jul-20 0:32
Graham Breach3-Jul-20 0:32 
GeneralRe: Why are there 19863 subfolders in Windows/Winsxs/ ? Pin
Stefan_Lang3-Jul-20 1:35
Stefan_Lang3-Jul-20 1:35 
AnswerRe: Why are there 19863 subfolders in Windows/Winsxs/ ? Pin
Randor 15-Aug-20 8:54
professional Randor 15-Aug-20 8:54 
QuestionIs it necessary to install a program, with known compatibility issues, in compatibility mode? Pin
RedDk20-May-20 8:41
RedDk20-May-20 8:41 
AnswerRe: Is it necessary to install a program, with known compatibility issues, in compatibility mode? Pin
Dave Kreskowiak20-May-20 9:08
mveDave Kreskowiak20-May-20 9:08 
GeneralRe: Is it necessary to install a program, with known compatibility issues, in compatibility mode? Pin
RedDk20-May-20 9:50
RedDk20-May-20 9:50 
GeneralRe: Is it necessary to install a program, with known compatibility issues, in compatibility mode? Pin
Dave Kreskowiak20-May-20 10:04
mveDave Kreskowiak20-May-20 10:04 
GeneralRe: Is it necessary to install a program, with known compatibility issues, in compatibility mode? Pin
Randor 15-Aug-20 9:15
professional Randor 15-Aug-20 9:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.