Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxϵͳÏÂΪʲôÿ¸öÎļþ¶¼ÓÐÁ½¸ö£¿

±ÈÈçÎÒн¨ÁËÒ»¸öÎļþ¡°J2ME--LISTµÄÓ÷¨Ð¡ÊµÀý.txt¡°
ÐÞ¸ÄÕâ¸öÎļþ£¬È»ºó±£´æ£¬·¢ÏÖµ±Ç°Îļþ¼ÐÏÂÓÐÁ½¸öÎļþ£º
J2ME--LISTµÄÓ÷¨Ð¡ÊµÀý.txt
J2ME--LISTµÄÓ÷¨Ð¡ÊµÀý.txt~

µÚ¶þ¸öÎļþÊÇʲô
¾ÝÎÒËùÖª,ÄãÓÃgedit¾Í»á²úÉúÕâ¸öÎļþ,±¸·ÝÓõİÉ~

¶Ô£¬ÎÒÓõľÍÊÇgedit
Ôõô°ÑËûµÄ±¸·Ý¸ø¹ØÁË

rm *~

ÒýÓÃ
rm *~

Öα겻Öα¾¡£ÒÔºóÓÃgeditÐÞ¸ÄÎļþµÄʱºò£¬»¹»á³öÏÖ¡«ÎļþµÄ
Ë­ÓÐÖα¾µÄ°ì·¨£¿

gedit->±à¼­->Ê×Ñ¡Ïî->±à¼­Æ÷ °ÑÎļþ±£´æÏÂÃæµÄÁ½¸ö¹´È¥µô

±¸·Ýàç

ÒýÓÃ
gedit->±à¼­->Ê×Ñ¡Ïî->±à¼­Æ÷ °ÑÎļþ±£´æÏÂÃæµÄÁ½¸ö¹´È¥µô


лл¡£¾ÍÊÇÕâ¸öÁË


Ïà¹ØÎÊ´ð£º

linux»·¾³ÏÂgethostbynameº¯ÊýÎÊÌâ - C/C++ / CÓïÑÔ

дÁ˸ö²âÊÔ³ÌÐòÈçÏÂ
   
  struct hostent *hp; 
char AlarmDevIP[20];  
  int x2;

hp = gethostbyname("www.google.com");
if (hp)
{ ......

Linux Socket HTTPÇëÇóµÄÎÊÌ⣬¸ßÊÖ½ø£¡

СµÜ×î½üÐèÒªÒ»¸öÓÃsocket»ñÈ¡htmlÎĵµµÄ´úÂ룬µ«ÊÇÀÏÊDz»ÄÜ»ñÈ¡ÍêÕûµÄhtmlÔ´Âë¡£Ô­Òò²»Ã÷£¬Íû¸ßÊÖÖ¸µã£¡
C/C++ code:

char *Http_GET(char *host,int port,char *data) //·¢ËÍGETÇëÇó
{
char response[2 ......

LinuxÈçºÎÏñwindowsÄÇÑù¸øÎļþ¼ÐÌí¼ÓÓû§

ÎÒµÄÒâ˼ÊÇ£º

ÔÚ²»¸ü¸ÄÔ­À´µÄÎļþ¼ÐËùÓÐÈË£¬ËùÓÐ×飬ÆäËûÈËȨÏÞµÄÇé¿öÏ£¬µ¥¶À¸øÎļþ¼ÐÊÚȨijÓû§

±ÈÈç/var/www Õâ¸öÎļþ¼Ð£¬Ô­À´ÏµÍ³ÓÐĬÈϵÄÊôÖ÷ºÍÊô×飬ÎÒÏÖÔÚ²»ÏëÈ¥¸ÄËüÔ­À´µÄÉ趨£¬Ö»ÊÇÏë¸øËüÔö¼ ......

ͬʱÌṩ windowsϵÄdllºÍ linuxϵÄso Îļþ

ÎÒҪд¸ö·þÎñ¶Ë¡£ ÒªÇóͬʱ֧³Öwindows ºÍ linux Á½¸ö ϵͳ¡£  Ò²¾ÍÊÇҪдһ¸ö dllºÍÒ»¸öso Îļþ¡£ÓÉÓÚÎÒÒ»Ö±¶¼ÊÇÔÚwindsÏÂд³ÌÐò¡£linuxµÄ»¹²»»á¡£ Ïò´ó¼Ò×Éѯ ͬʱ Ö§³Ö dllºÍso  Ó¦¸ÃÔõôд¡£
Óô¿c/c ......

Linux ½ø³ÌÎÊÌâ

linux Ͻø³Ì´´½¨¡£
ʹÓÃvfork() º¯Êý´´½¨ÁË×Ó½ø³Ìºó£¬×Ó½ø³ÌÏÈÐÐÖ´ÐУ¬ÔÚ×Ó½ø³Ìµ÷ÓÃexit»òexec֮ǰ¸¸½ø³Ì´¦ÓÚʲô״̬£¿£¿
²»ÖªµÀ£»Ê×ÏÈδ±ØÊÇ×Ó½ø³ÌÏÈÖ´ÐУ»µÚ2¸¸½ø³ÌÒ²´¦ÓÚÖ´ÐÐ״̬£»ÖÁÓÚ¸¸½ø³Ìµ½µ××öʲô£»¿´´ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ