
1.Ê×ÏȵçÄÔÁ¬½ÓWiFiÄ£¿éAP

2.²éѯµçÄÔÔÚ·ÓÉÆ÷ÉÏ»ñÈ¡µ½µÄIPµØÖ·

3.ʹÓõÄÈí¼þUSR-TCP232-Test.
TCP server ʹÓ÷½·¨£º
1£º½øÈëÅäÖÃÍøÒ³10.10.100.254£¨µÇ¼ÕʺźÍÃÜÂëĬÈÏΪadmin£©£¬ÔÚ´®¿Ú¼°ÍøÂçÉèÖÃÖÐÉèÖÃÍøÂçģʽΪTCP server£¬¶Ë¿Ú8899 ¡£µã»÷È·¶¨£¬ÖØÆôÄ£¿é¡£

2.´ò¿ªUSR-TCP232-Test .´®¿ÚתÍøÂçµ÷ÊÔÖúÊÖ¡£ ÍøÂçÉèÖãºTCP Client£¬·þÎñÆ÷IPдģ¿éIP10.10.100.254¶Ë¿ÚΪģ¿é±¾µØ¶Ë¿Ú8899¡£
´®¿ÚÉèÖãºcom3£¨Ä£¿é´®¿ÚÓÃUSBת´®¿ÚÏßÁ¬½ÓµçÄÔ£©¡¢57600¡¢N¡¢8¡¢1¡£
3.ͨÐŲâÊÔ£¬´®¿ÚÏòÍøÂç·¢Ëͼ°ÍøÂçÏò´®¿Ú·¢Ë;ù¿ÉÕý³£ÊÕµ½¡£

TCP Client ʹÓ÷½·¨£º
1.ÐÞ¸ÄÄ£¿é²ÎÊýΪTCP Cilent,·þÎñÆ÷µØַΪ²âÊÔËùÓõçÄÔIP10.10.100.100¡£
2.´ò¿ªUSR-TCP232-Test .´®¿ÚתÍøÂçµ÷ÊÔÖúÊÖ¡£ ÍøÂçÉèÖãºTCP Server£¬·þÎñÆ÷IPдģ¿éIP10.10.100.254¶Ë¿ÚΪģ¿é±¾µØ¶Ë¿Ú8899£¬´ò¿ª¼àÌý¡£
´®¿ÚÉèÖãºcom3£¨Ä£¿é´®¿ÚÓÃUSBת´®¿ÚÏßÁ¬½ÓµçÄÔ£©¡¢57600¡¢N¡¢8¡¢1¡£´ò¿ª´®¿Ú
3.ͨÐŲâÊÔ£¬´®¿ÚÏòÍøÂç·¢Ëͼ°ÍøÂçÏò´®¿Ú·¢Ë;ù¿ÉÕý³£ÊÕµ½¡£

UDP Server ʹÓ÷½·¨£º
1.ÔÚ´®¿Ú¼°ÍøÂçÉèÖÃÖÐÉèÖÃÍøÂçģʽΪUDP server£¬¶Ë¿Ú8899 ¡£µã»÷È·¶¨£¬ÖØÆôÄ£¿é¡£

2.´ò¿ªUSR-TCP232-Test .´®¿ÚתÍøÂçµ÷ÊÔÖúÊÖ¡£ ÍøÂçÉèÖãºUDP£¬10.10.100.100,¶Ë¿ÚΪģ¿é±¾µØ¶Ë¿Ú8899£¬µã»÷Á¬½Ó£¬ÉèÖÃÄ¿±êÖ÷»úIPºÍ¶Ë¿ÚΪģ¿éµÄIP10.10.100.254ºÍ¶Ë¿Ú8899 ´®¿ÚÉèÖãºcom3£¨Ä£¿é´®¿ÚÓÃUSBת´®¿ÚÏßÁ¬½ÓµçÄÔ£©¡¢57600¡¢N¡¢8¡¢1¡£´ò¿ª´®¿Ú
3.ͨÐŲâÊÔ£¬´®¿ÚÏòÍøÂç·¢Ëͼ°ÍøÂçÏò´®¿Ú·¢Ë;ù¿ÉÕý³£ÊÕµ½¡£
UDP Client ʹÓ÷½·¨£º
1.ÔÚ´®¿Ú¼°ÍøÂçÉèÖÃÖÐÉèÖÃÍøÂçģʽΪUDP Client£¬¶Ë¿Ú8899 ¡£µã»÷È·¶¨£¬ÖØÆôÄ£¿é¡£

2.´ò¿ªUSR-TCP232-Test .´®¿ÚתÍøÂçµ÷ÊÔÖúÊÖ¡£
ÍøÂçÉèÖãºUDP£¬10.10.100.100,¶Ë¿ÚΪģ¿é±¾µØ¶Ë¿Ú8899£¬µã»÷Á¬½Ó£¬ÉèÖÃÄ¿±êÖ÷»úIPºÍ¶Ë¿ÚΪģ¿éµÄIP10.10.100.254ºÍ¶Ë¿Ú8899
´®¿ÚÉèÖãºcom3£¨Ä£¿é´®¿ÚÓÃUSBת´®¿ÚÏßÁ¬½ÓµçÄÔ£©¡¢57600¡¢N¡¢8¡¢1¡£´ò¿ª´®¿Ú
3.ͨÐŲâÊÔ£¬´®¿ÚÏòÍøÂç·¢Ëͼ°ÍøÂçÏò´®¿Ú·¢Ë;ù¿ÉÕý³£ÊÕµ½¡£

Ãû´Ê½âÊÍ
TCP ¸ú UDP£ºÕâÊÇÁ½ÖÖÒÔÌ«ÍøÉϵÄÊý¾ÝͨÐÅÐÒ飬TCP£¨´«Êä¿ØÖÆÐÒ飩ÊÇÒ»ÖÖ¿É¿¿µÄͨÐÅÐÒ飬¾ß±¸Á¬½ÓµÄ¸ÅÄͬʱÓÐ×ÅÖØ·¢£¬Á¬½Ó½¨Á¢£¬Á¬½Ó¶Ï¿ªµÄ¹ý³Ì£¬Êý¾ÝͨÐÅÆðÀ´»á¸ü¿É¿¿£¬µ«ÊÇÊý¾Ý´¦ÀíÉÔ¸´ÔÓ£¬ÍøÂçÀûÓÃÂʲ»¸ß£»UDP£¨Óû§Êý¾Ý±¨£©ÊÇÒ»ÖÖÎÞÁ¬½ÓµÄͨÐÅÐÒ飬ÍøÂçÀûÓÃÂʸߣ¬Í¨ÐÅ´¦Àí¼òµ¥£¬Ëٶȿ飬ȱµãÊÇÍøÂçÓµÈûµÄÇé¿öÏ£¬¿ÉÄÜ»áÓжª°ü¡£
TCP Client£ºÒ²½Ð TCP ¿Í»§¶Ë£¬Ëû»áÖ÷¶¯Ïò·þÎñÆ÷·¢Æð TCP Á¬½ÓÇëÇ󣬲¢ÔÚÁ¬½Ó½¨Á¢ºóά³ÖÕâ¸öÁ¬½Ó£¬½ö´ËÒ»ÌõÁ¬½Ó¡£ÓÐÁ½¸ö¹Ø¼ü²ÎÊý£¬Ä¿±êµØÖ·£¨Ò²¾ÍÊÇ·þÎñÆ÷µØÖ·£¬»òÕß½ÐÔ¶³ÌµØÖ·£¬¿ÉÒÔÊÇ IP »òÕßÓòÃû£©£¬Ä¿±ê¶Ë¿Ú£¨Ò²½Ð×öÔ¶³Ì¶Ë¿Ú£©£¬ÕâÁ½¸ö²ÎÊý¶¼ÊÇ TCP ¿Í»§¶ËÒªÁ¬½Óµ½µÄÄ¿±ê·þÎñÆ÷µÄ²ÎÊý
TCP Server£ºÒ²½Ð TCP ·þÎñÆ÷£¬ËûÊDZ»¶¯µÈ´ý¿Í»§¶ËÁ¬½ÓµÄ¹¤×÷ÐÎʽ£¬¸ú TCP Client ¸ÕºÃÊǶÔÁ¢·½£¬ÕâÁ½ÕßÁ¬½Ó½¨Á¢Ö®ºó£¬¾Í¿ÉÒÔ½øÐÐÊý¾ÝͨÐÅ¡£×¢Òâ TCP Server ¿ÉÒÔ½ÓÊܶàÌõ¿Í»§¶ËµÄÁ¬½Ó£¬±¾´®¿Ú·þÎñÆ÷×î¶à¿ÉÒÔ½¨Á¢ 8 ÌõÁ¬½Ó¡£ËûÓÐÒ»¸ö¹Ø¼ü²ÎÊý£¬±¾µØ¶Ë¿Ú
UDP£ºÀàËÆÓÚ TCP Client£¬µ«ÊÇÎÞÁ¬½Ó£¬ËüÖ»»á»áÏòÄ¿±ê·þÎñÆ÷·¢ËÍÊý¾Ý£¬»òÕßÊǽö½ÓÊÕÀ´×ÔÄ¿±ê·þÎñÆ÷Êý¾Ý
UDP Server£ºÀàËÆÓÚ TCP Client£¬µ«ÊÇÎÞÁ¬½Ó£¬¸ú UDP ·½Ê½²»Í¬£¬Ëû¿ÉÒÔ½ÓÊÕÀ´×ÔÈÎÒâ IP µÄÊý¾Ý£¬¶øÇÒÖ»»áÏò×î½ü¸úËûͨÐŹýµÄ IP ·¢ËÍÊý¾Ý´ó²¿·Ö¿Í»§»á°Ñ´®¿Ú·þÎñÆ÷ÉèÖÃΪ TCP Client£¬µçÄÔÕâ±ßÉèÖÃΪ TCP Server£¬ÕâÑùÊÊÓÃÐԱȽϹ㡣