Ò»ÇÐÖ»ÊÇ¿ªÊ¼
来源: BlogBus 原始链接: http://www.blogbus.com:80/blogbus/blog/diary.php?diaryid=124291 存档链接: https://web.archive.org/web/20040624184457id_/http://www.blogbus.com:80/blogbus/blog/diary.php?diaryid=124291
Ò»ÇÐÖ»ÊÇ¿ªÊ¼ Linux, ǶÈëʽϵͳ, ´®¿ÚͨÐÅ, PALM OS, Bluetooth ... Êǹ¤×÷ÖÐÕýÓõ½µÄ
Java, software engineering, ÒÔ¼°ÆäËûµÄºÜ¶à¼¼Êõ£¬ÊÇÎÒ¸ÐÐËȤµÄ <<<Öն˵Ǽ¹ý³Ì agetty ѧϰ | Ê×Ò³ | ¹¤×÷ÈÕÖ¾ - 3-31>>> ½ø³Ì¼äͨÐÅ IPC ʱ¼ä: 04/03/31 from www.loveunix.net by cheyenne translated by carol
IPC == Inter Porcess Communication if u don t know much about TCP/IP networks and the IPC tools in UNIX, u might wonder why u need to know this information.
- RPC makes extensive use of IPC mechanisms. understanding IPC makes it easier to develop and debug RPC code. if nothing else, understanding IPC aids in ur understanding and appreciation 4 RPC and increases ur ability 2 use it.
- u ll have 2 use IPC 2 implement asynchrony, concurrency, and scheduling algorithms within RPC servers and clients. most of advanced RPC issues can only be resolved with low-level IPC programming.
- IPC mechanisms alone are enough to implement network applications. in some cases it makes more sense to develop a simple socket-based client/server pair than a full-blown RPC application, especially when services are available locally.
- as a tool 4 accessing remote computers, IPC allows access 2 resources similar to RPC. u can get at another host's processor or its attached peripherals. 4 example, tape drives, array processors, data acquisition units, etc. most of the network applications written before RPC were developed with low-level IPC functions. any application can make use of many powerful features of UNIX and the network using IPC.
ÒýÓà IPC == Inter Porcess Communication ½ø³Ì¼äͨÐÅ if u don t know much about TCP/IP networks and the IPC tools in UNIX, u might wonder why u need to know this information. ½ø³Ì¼äͨÐÅ Èç¹ûÄã¶ÔUNIXÖÐTCP/IPÍøÂçºÍIPC(½ø³Ì¼äͨÐÅ)µÄ¹¤¾ß²»ÉõÁ˽⣬ÄÇ¾Í»áÆæ¹Ö¸ÉÂðÒªÖªµÀÕâЩ¶«Î÷ÁË¡£ ˵ż°¢ ÒýÓÃ
- RPC makes extensive use of IPC mechanisms. understanding IPC makes it easier to develop and debug RPC code. if nothing else, understanding IPC aids in ur understanding and appreciation 4 RPC and increases ur ability 2 use it. RPC(Remote Procedure Call Ô¶³Ì¹ý³Ìµ÷ÓÃ) ¹ã·ºÓ¦ÓÃÁË IPC »úÖÆ¡£Àí½â IPC ÓÐÖúÓÚ¸üÈÝÒ׵Ŀª·¢ºÍµ÷ÊÔ RPC ´úÂë¡££¨×ªÕÛ´Ê £©£¬Àí½â IPC ¿ÉÒÔ°ïÖúÄãÀí½â RPC, Ìá¸ßÄãʹÓà RPC µÄÄÜÁ¦¡£ ÒýÓÃ
- u ll have 2 use IPC 2 implement asynchrony, concurrency, and scheduling algorithms within RPC servers and clients. most of advanced RPC issues can only be resolved with low-level IPC programming. ½øÐÐÔ¶³Ì¹ý³Ìµ÷Óã¨RPC£©µÄ·þÎñ¶ËºÍ¿Í»§¶ËÉÏʵÏÖÒì²½£¬²¢·¢£¬ºÍµ÷¶ÈË㷨ʱ£¬¶¼»áÓýø³Ì¼äͨÐÅÀ´ÊµÏÖ¡£ ´ó¶àÊýÏȽøµÄÔ¶³Ì¹ý³Ìµ÷Óã¨RPC£©ÎÊÌ⣬ֻÄÜͨ¹ýµ×²ãµÄ½ø³Ì¼äͨÐűà³ÌÀ´ÊµÏÖ¡£ ÒýÓÃ
- IPC mechanisms alone are enough to implement network applications. in some cases it makes more sense to develop a simple socket-based client/server pair than a full-blown RPC application, especially when services are available locally. µ¥¶ÀµÄ½ø³Ì¼äͨÐÅ»úÖÆ£¬ÒÑ×㹻ʵÏÖÍøÂçÓ¦ÓÃÁË¡£ÓÐʱºò£¬ÔÚ¿ª·¢Ò»¶Ô¼òµ¥µÄ»ùÓÚsocketµÄ¿Í»§/·þÎñÆ÷ʱ£¬Ò²±ÈÕûÌ׵ģ¨full-blown£©Ô¶³Ì¹ý³Ìµ÷Óã¨RPC£©¸üÓÐÒâÒ壬ÓÈÆäµ±·þÎñÆ÷ÊÇÔÚ±¾µØµÄʱºò¡£ ÒýÓÃ
- as a tool 4 accessing remote computers, IPC allows access 2 resources similar to RPC. u can get at another host's processor or its attached peripherals. 4 example, tape drives, array processors, data acquisition units, etc. most of the network applications written before RPC were developed with low-level IPC functions. any application can make use of many powerful features of UNIX and the network using IPC. ×÷ΪһÖÖ·ÃÎÊÔ¶³Ì¼ÆËã»úµÄ¹¤¾ß£¬½ø³Ì¼äͨÐÅ ÔÊÐí·ÃÎÊÀàËÆ RPC µÄ×ÊÔ´¡£Äã¿ÉÒÔ»ñÈ¡ÁíÒ»¸öÖ÷»úµÄ½ø³Ì£¬»òÕ߯äÖܱßÉ豸£¨peripheral£©. ±È·½Ëµ£¬ tape drives, array processors, data acquisition units µÈµÈ¡£´ó¶àÊýдÓÚ RPC ֮ǰµÄÍøÂçÓ¦Ó㬶¼ÊÇÓõײãµÄ½ø³Ì¼äͨÐź¯ÊýÀ´Ð´µÄ¡£ÈκÎÓ¦Óö¼¿ÉÒÔͨ¹ý½ø³Ì¼äͨÐÅ£¨IPC£©À´Ê¹ÓÃUNIX¼°ÆäÍøÂçµÄÇ¿´óÌØÕ÷¡£ ×ªÔØÇë×¢Ã÷£º from www.loveunix.net by cheyenne translated by carol
carol ·¢±íÓÚ 04/03/31 19:19 ÒýÓÃ(Trackback0) ÆÀÂÛ ·¢±íÆÀÂÛ ×îºó¸üР[תÌù]ÕæµÄÁ˽âtelnetÂ𣿠[ͼ]Introduction to Bluetooth Record - June 15th~ [WIN CE] Ô¶³Ì¿ØÖÆ£¬Ê°빦±¶ ´Ó¿ª·¢½Ç¶È¿´ smartphone palm ÉÏÎå·N²»Í¬µÄ reset [ת] ·¨Óï The 11 Truths of Debugging [תÌù]΢ÈíSmartphoneÓ¦ÓóÌÐòÉè¼ÆÈëÃÅ smartphone Ò»ÀÀ