LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Str-to-IP strange results for some IP numbers

Solved!
Go to solution

As a programmer I often confuse Christmas and Halloween,

 

Spoiler
25DEC == 31OCT

0xDEAD

Message 11 of 13
(614 Views)

@altenbach wrote:

 

IMHO, LabVIEW should drop the octal interpretation (or also support the hexadecimal interpretation). Seems half-baked. 😉


While LabVIEW does a tiny bit extra work here, the real meat of the entire implementation for String to IP and IP to String is located in the Winsock driver. If you want this option removed you have to adres this to Microsoft and request a change in the Winsock driver. Guess how much chance that makes! Smiley LOL

 

Besides that is standard functionality of the Berkeley Socket library (from which the Winsock library was derived) and absolutely NOBODY is going to remove that from there!

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 12 of 13
(603 Views)

@rolfk wrote:


While LabVIEW does a tiny bit extra work here, the real meat of the entire implementation for String to IP and IP to String is located in the Winsock driver.


 

Yes, I wasn't sure how much is external to LabVIEW. Nothing needs to be done.

 

TRUE STORY: I remember running into this problem probably almost 20 years ago when I had the brilliant (not!) idea to format IP addresses with leading zeroes (%03d for each octet) so the tables look nicer in a fixed-width font, just to have it blow up in my face when trying to read them again later. 😄 

0 Kudos
Message 13 of 13
(577 Views)