hostent中文翻譯,hostent是什么意思,hostent發(fā)音、用法及例句
1、hostent
hostent發(fā)音
英: 美:
hostent中文意思翻譯
常見(jiàn)釋義:
主持人
hostent相似詞語(yǔ)短語(yǔ)
1、infantile ghost───幼稚鬼
2、phosphate level───磷酸鹽含量
3、in hospital───[醫]住院(病人)
4、ghost towns along thehighway───公路沿線(xiàn)的鬼城
5、those over───那些結束的
6、ghost riders in the sky───天空中的幽靈騎士
7、a tv host───電視主持人
8、yes i wdesoknow enow wrisifantasybabdesthose are───對
9、what arethose───那些是什么
10、makeshift hospitals───臨時(shí)醫院
2、gethostbyname函數已經(jīng)過(guò)時(shí),怎么由getaddrinfo替換?
之前使用gethostbyname很簡(jiǎn)單,類(lèi)似這樣:
structhostent*remoteHost;
structin_addraddr;
if((remoteHost=gethostbyname(hostname))==NULL){
xxxx;
}
else{
if(remoteHost->h_addrtype==AF_INET)
{
while(remoteHost->h_addr_list[i]!=0){
addr.s_addr=*(u_long*)remoteHost->h_addr_list[i++];
printf(\"\tIPAddress#%d:%s\n\
版權聲明: 本站僅提供信息存儲空間服務(wù),旨在傳遞更多信息,不擁有所有權,不承擔相關(guān)法律責任,不代表本網(wǎng)贊同其觀(guān)點(diǎn)和對其真實(shí)性負責。如因作品內容、版權和其它問(wèn)題需要同本網(wǎng)聯(lián)系的,請發(fā)送郵件至 舉報,一經(jīng)查實(shí),本站將立刻刪除。