0
votes
Vote UpVote

Shouldnt this line be null terminated? HostEnt := gethostbyname(MarshaledASt…

The Wiert Corner – [WayBack] Shouldnt this line be null terminated? HostEnt := gethostbyname(MarshaledAString(TEncoding.UTF8.GetBytes(Name))); – G+ – Allen Drennan Yes it should, but I’m not sure if the compiler is fully to blame as GetBytes does not return a terminating zero byte. –jeroen
Favorite? Off-Topic? jpluimers @ 2018-08-07 13:04

Statistics

Visits: 210
Votes: 0
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)