linux±àÒëÔ´ÂëʱµÄ´íÎóÔõô¿´°¡£¡
×î½üÔÚ±àÒëÒ»¸öÔ´Âë°ü¡£Õâ¸ö°üºÜ´ó¶øÇÒ±àÒëµÄʱºò²»ÔÚÖÕ¶ËÏÔʾÏêϸÐÅÏ¢£¬Ëü»á°Ñ±àÒëÐÅÏ¢Êä³öµ½Ò»¸öÌØ¶¨ÎļþÖС£ ÎÊÌâÔÚÓÚ±àÒëµÄʱºò³ö´íÁË¡£Ð¡µÜ²»²Å¿´ËûµÄlog²»ÄÜÖªµÀ´íÎó¾ßÌåÊÇÄÄÀïÒýÆðµÄÍû¸ßÊÖÖ¸½ÌÏÂÃæÊǽØÈ¡µÄlogµÄ×îºó¼¸ÐйØÓÚ´íÎóµÄÐÅÏ¢£º
¡¡
stddef.h... yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking libgen.h usability... yes
checking libgen.h presence... yes
checking for libgen.h... yes
checking getopt.h usability... yes
checking getopt.h presence... yes
checking for getopt.h... yes
checking for an ANSI C-conforming const... yes
checking for uid_t in sys/types.h... yes
checking for inline... inline
checking for size_t... yes
checking for ssize_t... yes
checking for struct stat.st_rdev... yes
checking for getopt_long... yes
checking for getline... yes
checking for strtof... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for working snprintf... yes
checking for working vsnprintf... yes
checking for stdlib.h... (cached) yes
checking whether scanf can malloc... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing
Ïà¹ØÎÊ´ð£º
дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
ÓÉÓÚÎҲŸոսӴ¥socket±à³Ì£¬×Ô¼ºÐ´ÁËÒ»¸ö¼òµ¥³ÌÐò£¬µ«¾ÍÊÇÔÚÔËÐеÄʱºò³öÏֶδíÎó£¬ÎÞ·¨½â¾ö£¬ÏÖÔÚÎÒ°ÑÔ´´úÂëÌù³öÀ´£¬Çë¸÷λ´óϺָÕýһϣ¡Ð»Ð»£¡
#include<stdio.h>
#include<stdlib.h>
#include& ......
linux ÏÂusbÉ豸£¬ÔÚrootȨÏÞÏ£¬É豸¿ÉÒÔÕý³£ÕÒµ½Çý¶¯£¬
µ«ÔÚÆÕͨÓû§ÏÂÕÒ²»µ½É豸Çý¶¯£¬²»ÖªµÀÊÇʲôÔÒò£¿Çë¸ßÊÖÖ¸½Ì
Ó¦¸ÃÊÇrootΪÁË·ÀÖ¹ÆÕͨÓû§ÆÆ»µ°É£¬ËùÒÔ¼Ó¸öȨÏÞ¡£¡£¡£ÎҵľÍÊÇ
ȨÏÞÎÊÌâ rootÊdz¬¼¶Óà ......
linux ÏÂusbÉ豸£¬ÔÚrootȨÏÞÏ£¬É豸¿ÉÒÔÕý³£ÕÒµ½Çý¶¯£¬
µ«ÔÚÆÕͨÓû§ÏÂÕÒ²»µ½É豸Çý¶¯£¬
ÔõÑù²Å¿ÉÒÔÔÚÆÕͨÓû§ÏÂʹÓÃusbÉ豸£¿
Çë¸ßÊÖÖ¸½Ì
°ï¶¥Ï¡¢
ûÓöµ½¹ý£¬ÎÒÓõÄfedoraÆÕͨÓû§Ä¬ÈϵÄÒ²ÄÜÓðɣ ......
ÇëÎÒÓÃFCKÉÏ´«Îļþ,ÔÚ±¾µØµÄwindows»úÉϲâÊÔ¿ÉÒÔ£¬µ«²¿Êðµ½linux·þÎñÆ÷ÉϾÍÉÏ´«²»ÁËÎļþ£¬ÉÏ´«Îļþʱһֱ¿¨ÔÚÄÇÀï¡£Íû¸÷λ´óϺָµã£¬Ð»Ð»£¡
·¹ý£¬°ïÄ㶥һϡ£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
ÉÏ´«ÎļþµÄ·¾¶ÎÊÌ⣬ ......