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

TCP£¯IPЭÒéÕ»ÔÚLinuxÓëFreeBSDÖеÄʵÏÖ·ÖÎö3

´Ó½ø³ÌµÄ½Ç¶ÈÉϽ²£¬¿ÉÒÔµ÷³ösend£¬sendtoÀ´·¢ËÍÒ»¶ÎÊý¾Ý£¬Ò²¿ÉÒÔʹÓÃÎļþϵͳÖеÄwriteºÍwritev£®Í¬Àí£¬½ÓÊÕÊý¾Ý¿ÉÒÔʹÓÃÏàÓ¦µÄrecv£¬recvfromÕâÑùµÄ½Ó¿Ú£¬»òÕßʹÓÃÎļþϵͳÌṩµÄread£¬readv£®¶ÔÓÚ½ÓÊÕÀ´Ëµ£¬ÊÇÒì²½½øÐеģ¬Ò²¾ÍÊÇ˵£¬ÊÇÖжÏÇý¶¯µÄ£¬ÔÚÒÔºóµÄ·ÖÎöÖУ¬ÎÒÃÇҪעÒâÕâµã¡£Îª¼òµ¥Æð¼û£¬Í¬Ê±ÓÖ²»Ê§Ò»°ãÐÔ£¬ÎÒÃǽ«·ÖÎöTCPЭÒéµÄÊäÈëÊä³öÈ«¹ý³Ì£¬²¢¶ÔLinux¼°FreeBSDµÄʵÏÖ×÷Ò»¶Ô±È¡£
ÔÚʵÏÖÉÏ£¬FreeBSDÓë×î³õµÄʵÏÖÒ»ÂöÏà³Ð£¬¶øLinuxµÄʵÏÖ×Ô³ÉÌåϵ£¬½öÓ봫ͳʵÏÖ±£³Ö½Ó¿ÚÉϵļæÈÝ£¬ÎÒÃǽ«Õë¶ÔÔ´Â뼶µÄʵÏÖ£¬À´·ÖÎöÒ»ÏÂÁ½ÕßµÄÒìͬ¡£


Ïà¹ØÎĵµ£º

LinuxϵͳÏ°²×°VMwareÐéÄâ»ú

LinuxϵͳÏ°²×°VMwareÐéÄâ»ú
Linuxϵͳ
ÔÚLinux Ï£¬VMware ÌṩÁËÁ½ÖÖ°´×°°ü£ºtar °üºÍRPM °ü ÆäÖУ¬ºóÕ߸üÈÝÒ×°²×°£¬ÕâÀïÒÔRedhat Linux 9ϵͳΪÀý¡£
ʹÓÃtar °ü°²×°
µÇ½Linux Ö÷»ú
[sanren@localhost sanren]$
µÇ½µ½¹ÜÀíԱȨÏÞ
[sanren@localhost sanren]$ su -
Password:
[root@localhost root]#
½øÈëÁ ......

LinuxϵÄviʹÓ÷½·¨

      vi±à¼­Æ÷ÊÇËùÓÐUnix¼°Linuxϵͳϱê×¼µÄ±à¼­Æ÷£¬ËüµÄÇ¿´ó²»Ñ·É«ÓÚÈκÎ×îеÄÎı¾±à¼­Æ÷£¬ÕâÀïÖ»ÊǼòµ¥µØ½éÉÜÒ»ÏÂËüµÄÓ÷¨ºÍһС²¿·ÖÖ¸Áî¡£ViÒ²ÊÇLinuxÖÐ×î»ù±¾µÄÎı¾±à¼­Æ÷£¬Ñ§»áËüºó£¬Äú½«ÔÚLinuxµÄÊÀ½çÀﳩÐÐÎÞ×è¡£
 
      1¡¢viµÄ»ù±¾¸ÅÄî
¡¡¡¡»ù±¾É ......

linuxϲ鿴¶¯Ì¬¿âºÍ¾²Ì¬¿â

¾²Ì¬¿âÓÃar -t YourFile
¶¯Ì¬¿âÓà nm -D YourFile
ÏÂÃæÊÇarºÍnmÃüÁîµÄһЩ²ÎÊý˵Ã÷
1.ar»ù±¾Ó÷¨
¡¡¡¡arÃüÁî¿ÉÒÔÓÃÀ´´´½¨¡¢Ð޸Ŀ⣬Ҳ¿ÉÒÔ´Ó¿âÖÐÌá³öµ¥¸öÄ£¿é¡£¿âÊÇÒ»µ¥¶ÀµÄÎļþ£¬ÀïÃæ°üº¬ÁË°´ÕÕÌض¨µÄ½á¹¹×éÖ¯ÆðÀ´µÄÆäËüµÄһЩÎļþ£¨³Æ×ö´Ë¿âÎļþµÄmember£©¡£Ô­Ê¼ÎļþµÄÄÚÈÝ¡¢Ä£Ê½¡¢Ê±¼ä´Á¡¢ÊôÖ÷¡¢×éµÈÊôÐÔ¶¼±£ÁôÔÚ¿âÎ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ