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

·¢ÏÖselect×öÑÓʱwindowsûЧ¹û£¬LinuxÕý³£

 ÔÚÍêÉÆÎҵĿçƽ̨µÄ·¢ÓʼþÀà¿âʱ£¬select×öÑÓʱwindowsûЧ¹û£¬LinuxÕý³££¬»¹ÒÔΪÎÒ´úÂëд´íÁËÄØ£»ÔÚÍøÉÏËÑËØÏÂҲû·¢ÏÖÀàËÆ˵·¨£¬ÓÚÊÇÎÒ¾ÍдÁ˶ÎС²âÁË£¬¹ûÈ»selectÑÓʱÔÚwindowsÉÏËõË®ÁË
#include <iostream>
#include <time.h>
#ifdef WIN32
#include <winsock2.h>
#pragma comment(lib,"ws2_32.lib")
#else
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#endif
using namespace std;
int  main()
{
        struct timeval timeWait;
        timeWait.tv_sec = 0;
        timeWait.tv_usec = 10000;
        int liRecvCnt = 0;
        time_t t1, t2;
        time(&t1);
         while(liRecvCnt < 10)
         {
                timeWait.tv_sec = 0;
                timeWait.tv_usec = 500000;
                liRecvCnt++;
                select(0, NULL, NULL, NULL, &timeWait);
        }
         time(&t2);
         cout<<t2-t1<<endl;
         return 0;
}
ÔÚVS2005ÉÏÊä³öÊÇ 0
ÔÚLinuxÉÏÊä³öÊÇ 5 S
ÄãÓÐʲôÏë·¨£¬¾´ÇëÁôÑÔ
QQ:16645709


Ïà¹ØÎĵµ£º

linux»·¾³ÏÂÉý¼¶9204

µÚÒ»²½ ÏÂÔØ°²×°Îļþ... 2
1.1 È·ÈÏϵͳ°æ±¾... 2
1.2 ÏÂÔز¹¶¡... 2
¶þ, Éý¼¶×¼±¸... 4
Èý, Éý¼¶ÅäÖÃ... 5
3.1 identify the oracle9i installation. 5
3.2 ÔĶÁÉý¼¶×¢ÒâÊÂÏî... 6
3.3 ÉÏ´«Éý¼¶°ü²¢½âѹ... 6
3.4 È·ÈÏ»·¾³±äÁ¿ORACLE_SIDºÍORACLE_HOMEÉèÖÃ. 6
3.5 shut Down oracle Database. 7
3.6 Í£ÓÃËùÓнø³ ......

ǶÈëʽÉ豸É쵀 Linux ϵͳ¿ª·¢

 Ç¶ÈëʽÉ豸É쵀 Linux ϵͳ¿ª·¢£¨Ò»£©
http://hi.baidu.com/digast/blog/item/4ff9b8318b94c0ac5fdf0eb2.html
2008-04-03 18:31
Èç¹ûÄú¸Õ½Ó´¥Ç¶Èëʽ¿ª·¢£¬ÄÇô´óÁ¿¿ÉÓõÄÒýµ¼×°ÔسÌÐò£¨bootloader£©¡¢¹æÄ£ËõСµÄ·Ö·¢°æ£¨distribution£©¡¢ÎļþϵͳºÍ GUI ¿´ÆðÀ´¿ÉÄÜÌ«¶àÁË¡£µ«ÊÇÕâЩ·á¸»µÄÑ¡Ïîʵ¼ÊÉÏÊÇÒ»ÖÖ¶÷´Í£¬ÔÊ ......

Linuxѧϰ¸ßÊÖд¸ø³õѧÕߵľ­Ñé̸

 Linuxѧϰ¸ßÊÖд¸ø³õѧÕߵľ­Ñé̸
2008-04-01 15:02
    ÏÖÔںöàµÄÈË¿ªÊ¼½Ó´¥µçÄÔµÄʱºò£¬¼ûµ½µÄÓ¦¸ÃÊÇWindows98˵ʵ»°£¬98 ÒѾ­ÊÇÒ»¸öºÜÈËÐÔ»¯£¬·â×°µÄºÜºÃµÄÒ»¸öϵͳÁËÒ»¸ö¶ÔµçÄÔÒ»Çϲ»Í¨µÄÈ˶¼ÄܺܿìµÄʹÓÃËü¡£ÕâÑùºÜ¶àÈË¶Ô "µçÄÔ"µÄÓ¡ÏóºÍÄÇЩºÍÎÒÒ»ÑùÒ»¿ªÊ¼½Ó´¥µÄÊÇDOSÈËÊǾøÈ»²»Í¬µÄ¡£ÔÚDO ......

XmarkÔÚLinuxÖеĵǼ·½·¨

Õ⼸Ìì×°ÁËUbuntu²Å·¢ÏÖ£¬XmarkÔç¾Í±»ºÓзǯÁË¡£ÄѹÖ֮ǰÊéÇ©Ò»Ö±´«²»ÉÏÈ¥¡£¡£ÐÒºÃwin7»¹Ã»É¾£¬²»È»ÎÒÕû¸öÔµÄÊéÇ©¶¼Ã»ÁË¡£
Ôڴ˼ǼһÏÂÆÆǽµÄ·½·¨£º
sudo emacs  /etc/hosts
Ìí¼Ó
64.147.188.86 www.xmark.com
64.147.188.92 api.xmarks.com
64.147.188.89 login.xmarks.com
64.147.188.87 sync.xmarks.com
......

Linux Òýµ¼¹ý³ÌÄÚÄ»

 
Linux Òýµ¼¹ý³ÌÄÚÄ»
http://www.lemote.com/bbs/redirect.php?goto=newpost&tid=1723
µ±ÏµÍ³Ê×´ÎÒýµ¼Ê±£¬»òϵͳ±»ÖØÖÃʱ£¬´¦ÀíÆ÷»áÖ´ÐÐÒ»¸öλÓÚÒÑ֪λÖô¦µÄ´úÂë¡£ÔÚ¸öÈ˼ÆËã»ú£¨PC£©ÖУ¬Õâ¸öλÖÃÔÚ»ù±¾ÊäÈë/Êä³öϵͳ£¨BIOS£©ÖУ¬Ëü±£´æÔÚÖ÷°åÉϵÄÉÁ´æÖС£Ç¶ÈëʽϵͳÖеÄÖÐÑë´¦Àíµ¥Ôª£¨CPU£©»áµ÷ÓÃÕâ¸öÖØÖÃÏò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ