linuxÏÂsocketÄ£Äâtelnet¹¦ÄܵijÌÐò,¼±Çó
linuxÏÂsocketÄ£Äâtelnet¹¦ÄܵijÌÐò,¼±Çó
fyi:
http://blog.chinaunix.net/u2/63929/showart_1355320.html
Õâ¸öÊÇÓзþÎñ¶ËµÄ³ÌÐò,ÎÒÒªµÄÊÇÖ»Óпͻ§¶Ë,ͨ¹ýtelnetÀï×ÔÉíµÄÐÒéÄ£Äâtelnet¹¦ÄÜ,²»¹ý»¹ÊǺÜллÄã.
ûÈË°ïæ½â¾öÂð>
busybox£¬²»¶à˵¡£
Ïà¹ØÎÊ´ð£º
дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
struct hostent *hp;
char AlarmDevIP[20];
int x2;
hp = gethostbyname("www.google.com");
if (hp)
{
......
´ó¼ÒºÃ£¬±¾ÈËÄ¿Ç°¸Õ¸Õ½Ó´¥Linux¡£ÏÖÔÚ¹«Ë¾µÄÏîÄ¿ÐèÒªËõ¼õLinuxµÄKernelºÍAPP²¿·ÖµÄCode Size¡£Ä¿Ç°ÎÒÃÇʹÓõÄÊÇLinux2.6.22.15°æ±¾£¬Ó¦ÓÃÓÚADSL Modem£¨¼ÒÍ¥Íø¹Ø£©¡£
1.ÎÒÃDzúÆ·Ó¦ÓÃÊÇADSL Gateway£¬Kernel²¿ ......
cvs¹Ù·½²»ÄÜÏÂÔØÁË£¬Ë¸øÎÒÒ»·Ý£¬×îºÃÓÐÅäÖÃ˵Ã÷µÄÎĵµ¡£¡£¡£Ð»Ð»ÁË
ûÓУ¬°ï¶¥Ò»Ï¡£
¹Ù·½²»ÄÜÏÂÔØ ±ðµÄµØ·½»¹ÓÐÏÂÔصĵط½ ÎÒ¸Õ²ÅËÑÁË
¸ÕÏÂÔØÁ˸ö¡£¡£¡£ÊDz»ÊDz»µ½4M°¡¡£¡£¡£cvs-1.12.13.1.tar.tar
linu ......
ʹÓÃPHPµÄexecº¯Êýµ÷ÓÃlinuxµÄshellÃüÁÈçdateÈ¥ÐÞ¸Äʱ¼ä»òshutdownȥʵÏֹػú/ÖØÆô£¬µ«ÊÇ·µ»ØÖµ¶¼ÊÇʧ°ÜµÄ¡£¾¹ý¶à´ÎÊÔÑ飬È϶¨ÊÇûÓÐȨÏÞµÄÎÊÌâ¡£
ËùÒÔ£¬Ð¡µÜÔÚ´ËÇë½Ì¸÷룬ÈçºÎ²ÅÄÜÉèÖÃȨÏÞ£¬µ÷ÓÃlinux shellà ......
Ò»Ö±ÓÃsvnÀ´×ö×ÊÔ´µÄ¹ÜÀí£¬
ÏÖÔÚ·¢ÏÖwindowsÏÂÈ¡svn Òª10¸öСʱ×óÓÒ£¨×ÊÔ´´óÔ¼ÓÐ20G,È«ÊÇСÎļþ£©
linuxÏÂÈ¡½öÓÃ40·ÖÖÓ£¬
ÇëÎÊlinuxµÄÎļþϵͳÔÚÄĶù±ÈwindowsÎļþϵͳǿÁ¦?
svn ¿É¹»ÂýµÄ¡£
ÔÚ ......