Einzelnen Beitrag anzeigen

Klaus01

Registriert seit: 30. Nov 2005
Ort: München
5.756 Beiträge
 
Delphi 10.4 Sydney
 
#6

AW: IP-Adresse > String -> Longword

  Alt 23. Okt 2014, 11:18
.. damit sollte es auch funktionieren:
Code:
inet_addr
The inet_addr function converts a string containing an (Ipv4) Internet Protocol dotted address into a proper address for the IN_ADDR structure.

unsigned long inet_addr(
  const char* cp
);
Die Unit Windsock ist dazu einzubinden.

Grüße
Klaus
Klaus
  Mit Zitat antworten Zitat