ããã«ã¡ã¯ãç§ã®ååã¯ã°ã¬ã³ãã£ãŒãã©ãŒã§ããç§ã®ãªã³ã©ã€ã³ããã¯ãã²ãŒã éçºè åãã®ãããã¯ãŒã¯ããã°ã©ãã³ã°ã®æåã®èšäºã§ããªããæè¿ããŸãã
ãã®èšäºã§ã¯ããããã¯ãŒã¯ããã°ã©ãã³ã°ã®æãåºæ¬çãªåŽé¢ïŒãããã¯ãŒã¯ãä»ããããŒã¿ã®éåä¿¡ïŒããå§ããŸãã ããŒã¿ã®åä¿¡ãšéä¿¡ã¯ããããã¯ãŒã¯ããã°ã©ããŒãé¢äžããã¿ã¹ã¯ã®å šç¯å²ã®äž»èŠãã€æãåçŽãªéšåã§ãããå€ãã®å Žåãã©ã¡ãã®æ¹æ³ãé©åããå€æããããšã¯å°é£ã§ãã ãã®éšåã«ååãªæ³šæãæã£ãŠãã ãã-ãŸã 誀解ãããå Žåãããã¯å°æ¥ã®ãã«ããã¬ã€ã€ãŒã²ãŒã ã«æãããçµæãããããå¯èœæ§ããããŸãïŒ
ãããããœã±ããã«ã€ããŠäœãèããããšãããã§ãããããããŠããããã2ã€ã®äž»ãªã¿ã€ã-TCPãšUDPã«åãããŠããããšãããããç¥ã£ãŠããã§ãããã ãã«ããã¬ã€ã€ãŒã²ãŒã ãéçºããéã«æåã«æ±ºããããšã¯ã䜿çšãããœã±ããã®ã¿ã€ãïŒTCPãUDPããŸãã¯ãã®äž¡æ¹ïŒã§ãã
ãœã±ããã¿ã€ãã®éžæã¯ãéçºäžã®ã²ãŒã ã®ãžã£ã³ã«ã«å®å šã«äŸåããŸãã ãã®ã·ãªãŒãºã®èšäºã§ã¯ãHaloãBattlefield 1942ãQuakeãUnrealãCounterStrikeãTeam Fortressãªã©ã®ã¢ã¯ã·ã§ã³ã¹ã¿ã€ã«ã®ã²ãŒã ãæžããŠãããšä»®å®ããŸãã
次ã«ãåã¿ã€ãã®ãœã±ããã®ããããã£ïŒã¢ã¯ã·ã§ã³ã¹ã¿ã€ã«ã®ã²ãŒã ãéçºããŠãããšããäºå®ãèæ ®ããŠïŒããã詳现ã«èª¿ã¹ãã€ã³ã¿ãŒãããã®è©³çŽ°ãå°ã詳ããèŠãŠãããŸãã 詳现ãªã¬ãã¥ãŒã®åŸãæ£ãããªãã·ã§ã³ãæããã«ãªããŸãïŒ
TCPã¯ãäŒéå¶åŸ¡ãããã³ã«ãã®ç¥ã§ãIPã¯ãã€ã³ã¿ãŒããããããã³ã«ãã®ç¥ã§ãã ãããã¯ãšãã«ãWebã®é²èŠ§ããIRCãé»åã¡ãŒã«ãšã®éä¿¡ã«ããããŸã§ãWebã§è¡ãã»ãšãã©ãã¹ãŠã®åºç€ãšãªããã®ã§ããã¹ãŠTCP / IPã«åºã¥ããŠããŸãã
TCPãœã±ããã䜿çšããããšãããå ŽåãTCPã¯ä¿¡é Œã§ããæ¥ç¶ã®ååã䜿çšãããããã³ã«ã§ããããšãç¥ã£ãŠããå¿ èŠããããŸãã ããã¯ã2å°ã®ã³ã³ãã¥ãŒã¿ãŒéã®æ¥ç¶ã確ç«ãããã®ã³ã³ãã¥ãŒã¿ãŒéã§ããŒã¿ãéä¿¡ããããšãæå³ããŸãããŸãã§1å°ã®ã³ã³ãã¥ãŒã¿ãŒäžã®ãã¡ã€ã«ã«æ å ±ãæžã蟌ã¿ããã1å°ã®ã³ã³ãã¥ãŒã¿ãŒã§åããã¡ã€ã«ããæ å ±ãèªã¿åãå Žåãšåãã§ãã
ãã®å Žåãæ¥ç¶ã¯ä¿¡é Œæ§ãé«ãäžè²«æ§ããããšèŠãªãããŸããã€ãŸããéä¿¡ãããã¹ãŠã®æ å ±ã¯ãéä¿¡ãããã®ãšåãé åºã§åä¿¡è ã«å°éããããšãä¿èšŒãããŠããå¿ èŠããããŸãã ãŸããTCPæ¥ç¶ã¯ããŒã¿ã®é£ç¶ã¹ããªãŒã ãšèŠãªãããšãã§ããŸãããããã³ã«èªäœãããŒã¿ããã±ããã«åå²ãããããã¯ãŒã¯çµç±ã§éä¿¡ããŸãã
ããäžåºŠ-ãã¹ãŠããã¡ã€ã«ã®æžã蟌ã¿ãŸãã¯èªã¿åããšåããããç°¡åã§ãã å°åŠçãã¯ããœã³ïŒ
ãããããã®ãããªæ±ããããã¯ãå®éã«ã¯ããã³ãããã®äžãã§è¡ããããã®ãšã¯ãŸã£ããç°ãªããããäœãã¬ãã«ïŒIPãããã³ã«ã®ã¬ãã«ïŒã§è¡ãããŸãã
ãã®ã¬ãã«ã§ã¯æ¥ç¶ã®æŠå¿µã¯ãããŸããã代ããã«ãåã ã®ãã±ããã1ã€ã®ã³ã³ãã¥ãŒã¿ãŒããå¥ã®ã³ã³ãã¥ãŒã¿ãŒã«è»¢éãããŸãã ãã®ããã»ã¹ã¯ã人ã§ãã£ã±ãã®éšå±ã§ããã人ããå¥ã®äººã«ã¡ã¢ã転éããããšã§ãããšæ³åã§ããŸããæçµçã«ãã¡ã¢ã¯å¿ èŠãªäººã«å±ããŸãããåæã«å€ãã®æãéãæããŸããã
ãã ããã¡ã¢ãå®å ã«å±ããšããä¿èšŒã¯ãããŸããã éä¿¡è ã¯åã«å°çããããšãæåŸ ããŠã¡ã¢ãéä¿¡ããŸãããåä¿¡è ãæžãæ»ãããšã決å®ãããŸã§ãã¡ãã»ãŒãžãå°çãããã©ããããç¥ããŸããã
åœç¶ãå®éã«ã¯ãéä¿¡åŽã®ã³ã³ãã¥ãŒã¿ãŒã¯ãã±ãããéä¿¡ãããããã¯ãŒã¯äžã®ã³ã³ãã¥ãŒã¿ãŒã®æ£ç¢ºãªã·ãŒã±ã³ã¹ãèªèããŠããªããããã§ããã ãæ©ãååŸã§ããããããã¹ãŠãå°ãè€éã«ãªããŸãã IPãåããã±ããã®è€æ°ã®ã³ããŒãéä¿¡ããå ŽåããããŸãããã³ããŒã¯ç°ãªãæ¹æ³ã§å®å ã«éãããå¯èœæ§ããããã»ãšãã©ã®å Žåãç°ãªãæéã«å°çããŸãã
ããã¯ãã€ã³ã¿ãŒããããèªå·±çµç¹åããã³èªå·±ä¿®åŸ©ã·ã¹ãã ã§ããããããã¯ãŒã¯å ã®åé¡é åããã€ãã¹ã§ããããã§ãã å®éããããã¯ãŒã¯äžã§ãã®ãããªäœãã¬ãã«ã§äœãèµ·ãããã¯æ¬åœã«ã¯ãŒã«ã§ãã ããã«ã€ããŠã¯ããã§ã«å€å žçãªæ¬ãTCP / IP Illustratedãã§è©³ããèªãããšãã§ããŸãã
ãããããã¡ã€ã«ã®èªã¿åã/æžã蟌ã¿ã®ã¹ã¿ã€ã«ã§ã¯ãªããåå¥ã®ãã±ãããçŽæ¥éåä¿¡ããã³ã³ãã¥ãŒã¿ãŒéã§æ å ±ãéä¿¡ããå Žåã¯ã©ãã§ããããïŒ
ããŠãUDPã䜿çšããŠãããè¡ãããšãã§ããŸãã UDPã¯ããŠãŒã¶ãŒããŒã¿ã°ã©ã ãããã³ã«ãã®ç¥ã§ãIPïŒTCPãªã©ïŒäžã§åäœããŸãããå€æ°ã®æ©èœãè¿œå ãã代ããã«ãIPã®åãªãã¢ããªã³ã§ãã
UDPã䜿çšããŠãç¹å®ã®IPã¢ãã¬ã¹ïŒ112.140.20.10ãªã©ïŒãšããŒãïŒ52423ãªã©ïŒã«ãã±ãããéä¿¡ã§ããŸããéä¿¡å ã«å°éããïŒãŸãã¯éäžã§å€±ãããïŒãŸã§ãã³ã³ãã¥ãŒã¿ãŒããã³ã³ãã¥ãŒã¿ãŒã«éä¿¡ãããŸãã
åæã«ãåä¿¡åŽã§ã¯ãç¹å®ã®ããŒãïŒãã®å Žåã¯52423ïŒããªãã¹ã³ããŠåŸ æ©ãã誰ããããã±ãããæ¥ããšïŒæ¥ç¶ã䜿çšãããŠããªãããšãæãåºããŠãã ããïŒãã¢ãã¬ã¹ãšéç¥ãåãåããŸãéä¿¡åŽã³ã³ãã¥ãŒã¿ãŒã®ããŒãããã±ãããµã€ãºããã®åŸããã®ãã±ããããããŒã¿ãèªã¿åãããšãã§ããŸãã
UDPã¯ããŒã¿é ä¿¡ãä¿èšŒããŸããã å®éã«ã¯ãã»ãšãã©ã®ãã±ããã¯ãã¡ããå°éããŸãããåžžã«çŽ1-5ïŒ ã®æ倱ããããæã«ã¯ãã±ããããŸã£ããå°éããªãæéããããŸãïŒéä¿¡è ãšåä¿¡è ã®éã«æ°åå°ã®ã³ã³ãã¥ãŒã¿ãŒãååšããå¯èœæ§ãããããšã«æ³šæããŠãã ããïŒå€±æãŸãã¯ç Žæããå¯èœæ§ããããŸãïŒã
UDPã¯ããã±ããé ä¿¡ãä¿èšŒããŸããã 1ã2ã3ã4ã5ã®é åºã§5ã€ã®ãã±ãããéä¿¡ã§ããŸãããŸãã3ã1ã2ã5ã4ãªã©ããŸã£ããç°ãªãé åºã§éä¿¡ããããšãã§ããŸããã»ãšãã©ã®å Žåãæ£ããé åºã§ããããããªãã¯ããã«é Œãããšã¯ã§ããŸããïŒ
æåŸã«ãUDPã¯å®éã«ã¯IPã«äœãè¿œå ããŸããããããã§ã1ã€ã®ããšãä¿èšŒããŸãã ãã±ããã転éãããšããã±ããã¯å®å šã«å°éãããããŸã£ããå°éããŸããã ãããã£ãŠã256ãã€ãã®ãã±ãããå¥ã®ã³ã³ãã¥ãŒã¿ãŒã«è»¢éããå Žåããã±ããããæåã®100ãã€ãã®ã¿ãåä¿¡ããããšã¯ã§ããŸããã256ãã€ããã¹ãŠãåä¿¡ããå¿ èŠããããŸãã UDPãããã³ã«ãä¿èšŒããã®ã¯ããã ãã§ããä»ã®ãã¹ãŠã¯ããªãã®è©ã«ããã£ãŠããŸãã
ãããã£ãŠã決å®ããå¿ èŠããããŸã-TCPãŸãã¯UDPãœã±ããã䜿çšããããã«ïŒ ãããã®ããããã£ãèŠãŠã¿ãŸãããïŒ
TCPïŒ
- æ¥ç¶ã®ååã䜿çšãã
- é éãšåªå 床ã®ä¿èšŒ
- æ å ±ãããã±ãŒãžã«èªåçã«åå²ããŸã
- ããŒã¿ãéäžçã«éä¿¡ãããªãããã«ããŸãïŒããŒã¿ãããŒå¶åŸ¡ïŒ
- 䜿ãããã-ãã¡ã€ã«ããã®æžã蟌ã¿/èªã¿åããšããŠ
UDPïŒ
- æ¥ç¶ã®ååã䜿çšããŸãã-æåã§å®è£ ããå¿ èŠããããŸã
- ããã±ãŒãžã®é éãšé éé åºã¯ä¿èšŒããŸãã-圌ãã¯ééã£ãé åºã§ãéè€ããŠããŸãã¯ãŸã£ããå±ããªããããããŸããïŒ
- ããŒã¿ãæåã§ãã±ããã«åå²ããŠéä¿¡ããå¿ èŠããããŸã
- ããŒã¿ãé床ã«éä¿¡ããªãããã«æ³šæããå¿ èŠããããŸãã
- ãã±ããã倱ãããå Žåã¯ãäœããã®æ¹æ³ã§è¿œè·¡ããå¿ èŠããããå¿ èŠã«å¿ããŠå床転éããå¿ èŠããããŸã
ãã®ãããªãªã¹ãã䜿çšãããšããœãªã¥ãŒã·ã§ã³ã¯æãããªããã«èŠããŸããTCPã¯å¿ èŠãªãã¹ãŠã®æ©èœãå®è£ ãã䜿ãããããUDPã䜿çšãããšãäžçã®ãã¹ãŠãæäœæ¥ã§ãŒãããæžãããšãã§ããŸãã TCPã䜿çšããŸããïŒ
ããããéããŸãã
TCPã®äœ¿çšã¯ããããããã«ããã¬ã€ã€ãŒã²ãŒã ãéçºããéã«ç¯ãå¯èœæ§ã®ããææªã®ééãã§ãã çç±ãç解ããããã«ãTCPãéåžžã«äœ¿ããããçç±ãç解ããŸãããïŒ
TCPã®ä»çµã¿
TCPãšUDPã¯ã©ã¡ããIPäžã§åäœããŸãããå®éã«ã¯å®å šã«ç°ãªããŸãã UDPã¯IPãšéåžžã«ãã䌌ãåäœãããŸãããTCPã¯ãã¹ãŠã®ãã±ããã®åé¡ãããŠãŒã¶ãŒãåŒãé¢ãããŠãŒã¶ãŒãšã®ããåãããã¡ã€ã«ã®èªã¿åã/æžã蟌ã¿ã®ããã«èŠããŸãã
ããã§åœŒã¯ã©ã®ããã«ãããããŸããïŒ
ãŸããTCPã¯ããŒã¿ã¹ããªãŒã ã®æœè±¡åã䜿çšããŸãããã®ã¹ããªãŒã ã«ããŒã¿ãã€ããæžã蟌ãã ãã§ãTCPã¯å®å ã«ç¢ºå®ã«å°éããŸãã IPãããã³ã«ã¯ããŒã¿ããã±ããã§éä¿¡ããTCPã¯IPäžã§å®è¡ããããããTCPã¯ãŠãŒã¶ãŒå ¥åã¹ããªãŒã ãåå¥ã®ãã±ããã«åå²ããå¿ èŠããããŸãã ãããã£ãŠãTCPã®å éšã§ã¯ãäžéšã®ããžãã¯ãããŒã¿ããã¥ãŒã«åéããååãªéãèç©ããããšãã±ããã圢æããŠå®å ã«éä¿¡ããŸãã
éåžžã«å°ããªãã±ããã転éããå¿ èŠãããå Žåããã®åäœã¯ãã«ããã¬ã€ã€ãŒã²ãŒã ã®åé¡ã«ãªãå¯èœæ§ããããŸãã ç¹å®ã®ãµã€ãºïŒããšãã°ã100ãã€ã以äžïŒã®ãã±ããã圢æããã®ã«ååãªããŒã¿ãèç©ããããŸã§ãTCPãããŒã¿ã転éããªãããšã決å®ããå ŽåããããŸãã ãããŠãããã¯å€§ããªåé¡ã§ãããªããªããã¯ã©ã€ã¢ã³ãããããŒã¿ãã§ããã ãæ©ããµãŒããŒã«è»¢éããå¿ èŠãããããã§ãïŒãã¬ãŒã€ãŒã®ããŒãæŒãïŒããããŠããããã³ã«ã«ããããŒã¿ãããã¡ãªã³ã°ã«ããé 延ãããå Žåãã¯ã©ã€ã¢ã³ãåŽã®ãã¬ãŒã€ãŒã«ãšã£ãŠãã²ãŒã ã¯æãé ããªãã§ããã楜ããæ¹æ³ã§ã åæã«ãã²ãŒã ã®ãªããžã§ã¯ãã®æŽæ°ã¯é ããŠè¡ããããŸãã«ããè¡ãããŸãããããªããžã§ã¯ããæééãã«é »ç¹ã«æŽæ°ããå¿ èŠããããŸãã
TCPã«ã¯ããããä¿®æ£ãããªãã·ã§ã³ãTCP_NODELAYãããããŸãã 圌女ã¯ãéä¿¡ã®ããã«ãã¥ãŒã«ããŒã¿ãèç©ãããã®ãåŸ ããã«ãããã«éä¿¡ããããã«ãããã³ã«ã«æ瀺ããŸãã
æ®å¿µãªããããã®ãªãã·ã§ã³ãã€ã³ã¹ããŒã«ããŠãããããã¯ãŒã¯ã²ãŒã ã§TCPã䜿çšããå ŽåãTCPã«ã¯å€ãã®åé¡ããããŸãã
ãã¹ãŠã®åé¡ã®æ ¹æ¬ã¯ãTCPã倱ããããã±ãããé çªãããããã±ãããåŠçããæ¹æ³ã«ãããä¿¡é Œæ§ã®é«ãäžè²«ããæ¥ç¶ã®é¯èŠãäœãåºããŸãã
TCPãä¿¡é Œã§ããæ¥ç¶ãæäŸããæ¹æ³
TCPã¯ãéä¿¡æã«ããŒã¿ã¹ããªãŒã ãåå¥ã®ãã±ããã«åå²ããä¿¡é Œæ§ã®äœãIPãããã³ã«ã䜿çšããŠãããã¯ãŒã¯çµç±ã§éä¿¡ããåä¿¡ããã³ã³ãã¥ãŒã¿ãŒããåä¿¡ãããã±ããããå ã®ã¹ããªãŒã ã埩å ããŸãã
ããããããã±ãŒãžã®1ã€ã倱æãããšã©ããªããŸããïŒ ãŸãã¯ããã±ããã®é åºãééã£ãŠããããéè€ããŠãããââããŸããïŒ
TCPã®è©³çŽ°ãç¹ã«æãäžããªãå ŽåïŒããã¯éåžžã«è€éãªãããã¯ã§ã-TCP / IP Illustratedã§èªãããšãã§ããŸãïŒãããã»ã¹ã¯æ¬¡ã®ããã«ãªããŸããTCPã¯ãã±ãããéä¿¡ãããã±ãããå°çããŠããªããšå€æããåããã±ãããå®å ã«å床éä¿¡ããŸãã å®å åŽã§éè€ãããã±ãããæé€ãããé åºã©ããã«å°çããªããã±ããã¯ããã¹ãŠãæ£åžžã«ãã€ãŸã確å®ã«é åºã©ããã«ãªãããã«äžŠã¹æ¿ããããŸãã
åé¡ã¯ããã±ããæ倱ã®å Žåã«TCPãããŒã¿ã¹ããªãŒã ããåæããããšã倱ããããã±ãããå床éä¿¡ãããïŒå®å ã§åä¿¡ãããïŒãŸã§éä¿¡ãåæ¢ããããšã§ãã åŸ æ©äžã«æ°ããããŒã¿ãå°çãããšããã¥ãŒã«å ¥ããããåã倱ããããã±ãããå°çãããŸã§ããŒã¿ãèªã¿åãããšãã§ããªããªããŸãã ããã±ãŒãžãåéä¿¡ããã®ã«ã©ããããæéãããããŸããïŒ å°ãªããšããã±ããã®åŸåŸ©æéïŒTCPãã©ã®ãã±ãããåéä¿¡ãããã決å®ãããšãïŒã«å ããŠã倱ããããã±ãããåé ä¿¡ãããŸã§ã®æéãããããŸãã ãã®ãããã³ã³ãã¥ãŒã¿ãŒéã®pingã125ããªç§ã®å Žåããã±ããã®åéä¿¡ã«ã¯çŽ5åã®1ç§ããããææªã®å Žåã¯æ倧0.5ç§ããããŸãïŒåéä¿¡ãããã±ããã倱ããããšæ³åããŠãã ããïŒã 楜ããïŒ
ãã«ããã¬ã€ã€ãŒã²ãŒã ã«TCPã䜿çšããŠã¯ãªããªãçç±
ãããã¯ãŒã¯ã²ãŒã ã§TCPã䜿çšããå Žåã®åé¡ã¯ããã©ãŠã¶ãŒãé»åã¡ãŒã«ãããã³ãã®ä»ã®ã¢ããªã±ãŒã·ã§ã³ãšã¯ç°ãªããã²ãŒã ããªã¢ã«ã¿ã€ã ã®çžäºäœçšã«é¢é£ä»ããããŠããããšã§ãã ããšãã°ããŠãŒã¶ãŒãæŒããããŒãã²ãŒã å ã®ãã¬ãŒã€ãŒã®äœçœ®ãªã©ãã²ãŒã ã®å€ãã®åŽé¢ã«ã€ããŠã¯ã1ç§åã«äœãèµ·ãã£ããã¯é¢ä¿ãããŸããããã²ãŒã äžçã®ææ°ã®ç¶æ ã®ã¿ãéèŠã§ãã
3Dã·ã¥ãŒãã£ã³ã°ã²ãŒã ãªã©ããã«ããã¬ã€ã€ãŒã²ãŒã ã®ç°¡åãªäŸãèããŠã¿ãŸãããã ã²ãŒã ã®ãããã¯ãŒã¯éšåã¯éåžžã«ç°¡åã«æ§ç¯ãããŸãïŒã²ãŒã ãµã€ã¯ã«ã®åå埩ãã¯ã©ã€ã¢ã³ãã¯ãã¹ãŠã®ãã¬ãŒã€ãŒã¢ã¯ã·ã§ã³ïŒããŒã¹ãããŒã¯ãããŠã¹äœçœ®ãªã©ïŒã®èª¬æããµãŒããŒã«éä¿¡ããåå埩ã¯ãµãŒããŒããã®ããŒã¿ãåŠçããã²ãŒã ã¯ãŒã«ãã®ã¢ãã«ãæŽæ°ããçŸåšãã¯ã©ã€ã¢ã³ãã«éãè¿ããŸã圌ããã¬ã€ã€ãŒã®ããã«æ°ãããã¬ãŒã ãæãããã«ãã¯ãŒã«ããªããžã§ã¯ãã®äœçœ®ã
ãããã£ãŠããã®ã²ãŒã ã§ã¯ããããã¯ãŒã¯ãä»ããéä¿¡äžã«ãã±ããã倱ãããå Žåãã²ãŒã ã¯åæ¢ãããã±ãããåã³é ä¿¡ããããŸã§åŸ æ©ããŸãã ãµãŒããŒã¯æ°ãããã±ãããåä¿¡ã§ããªããããã¯ã©ã€ã¢ã³ãåŽã§ã¯ã²ãŒã ãªããžã§ã¯ããããªãŒãºãããµãŒããŒã§ã¯ãã¬ã€ã€ãŒã移åãããå°æãããã§ããŸããã 倱ããããã±ãããæçµçã«å°çãããšãé¢é£ã®ãªãå€ãæ å ±ããã§ã«å«ãŸããŠããŸãã ããã«ããã®åŸãåŸ æ©æéäžã«ãã¥ãŒã«èç©ããããã¹ãŠã®ãã±ãããæ¥ãŸãããã¹ãŠã®ãã±ããã¯ãã«ãŒãã®1åã®å埩ã§åŠçããå¿ èŠããããŸãã å®å šãªæ··ä¹±ïŒ
æ®å¿µãªããããã®TCPã®åäœãå€æŽããããšã¯ã§ããŸãããTCPã®æå³ãªã®ã§ãå€æŽããå¿ èŠã¯ãããŸããã ã€ã³ã¿ãŒããããä»ããããŒã¿éä¿¡ãä¿¡é Œæ§ã®é«ãäžè²«ããããŒã¿ã¹ããªãŒã ã«ããå¿ èŠããããŸãã
ãã ããä¿¡é Œæ§ã®é«ãäžè²«ããããŒã¿ã¹ããªãŒã ã¯å¿ èŠãããŸããã
ã¯ã©ã€ã¢ã³ããããµãŒããŒã«ã§ããã ãæ©ãããŒã¿ãå°çããå¿ èŠããããããŒã¿ãåã³éä¿¡ãããã®ãåŸ ã¡ãããããŸããã
ãããããã«ããã¬ã€ã€ãŒã²ãŒã ã«TCPã䜿çšãã¹ãã§ã¯ãªãçç±ã§ãã
ããããåŸ ã£ãŠïŒ UDPãšTCPã®äž¡æ¹ãäžç·ã«äœ¿çšã§ããªãã®ã¯ãªãã§ããïŒ
ãŠãŒã¶ãŒã®ã¯ãªãã¯ãã²ãŒã ã¯ãŒã«ãã®ç¶æ ãªã©ã®ãªã¢ã«ã¿ã€ã ã²ãŒã ããŒã¿ã®å Žåãæãé¢é£æ§ã®é«ãããŒã¿ã®ã¿ãéèŠã§ãããä»ã®çš®é¡ã®ããŒã¿ãããšãã°ãããã³ã³ãã¥ãŒã¿ãŒããå¥ã®ã³ã³ãã¥ãŒã¿ãŒã«éä¿¡ãããã³ãã³ãã»ããã®å Žåããã£ãã«ã®ä¿¡é Œæ§ãšäžè²«æ§ã¯éåžžã«éèŠã§ãã
ãã¡ãããUDPã䜿çšããŠãŠãŒã¶ãŒå ¥åããŒã¿ãšäžçç¶æ ããŒã¿ãéä¿¡ããé ä¿¡ãä¿èšŒããå¿ èŠãããããŒã¿ã«ã¯TCPã䜿çšããã®ã¯é åçã§ãã ãããããã¬ãã«ã®ããŒãçšãAIã³ãã³ãçšãªã©ãããã€ãã®ã³ãã³ãã®ãã¹ããªãŒã ããäœæã§ãããšããèãããããããŸããã ãã¬ãã«ãããŒãããããã®ããŒã¿ãå«ããã±ããã倱ãããå ŽåãAIããŒã ã¯å®å šã«ç¡é¢ä¿ã§ãããããåã«äžŠãã§åŸ ã€å¿ èŠã¯ãããŸããïŒã ãã®å Žåãããªãã¯æ£ããã§ãããããŠãããªãã¯ã³ãã³ãã®åæµãã®ããã«TCPãœã±ãããäœæããããšã«æ±ºããããšãã§ããŸãã
äžèŠãããã¯çŽ æŽãããã¢ã€ãã¢ã§ãã ãããåé¡ã¯ãTCPãšUDPã®äž¡æ¹ãIPãä»ããŠæ©èœãããããäž¡æ¹ã®ãããã³ã«ã®ãã±ãããäºãã«åœ±é¿ãåãŒãåãããšã§ã-ãã§ã«IPã¬ãã«ã§ã ãã®åœ±é¿ãã©ã®çšåºŠæ£ç¢ºã«çŸãããã¯éåžžã«è€éãªåé¡ã§ãããTCPã®ä¿¡é Œæ§ã確ä¿ããã¡ã«ããºã ã«é¢é£ããŠããŸãã ãã ãããããã«ããŠããéåžžTCPã䜿çšãããšUDPãã±ããæ倱ãå¢å ããããšã«æ³šæããŠãã ããã ããã«ã€ããŠãã£ãšç¥ãããå Žåã¯ã ãã®èšäºãèªãããšãã§ããŸãã
ãããã«
UDPã䜿çšããã ãã§ãªããUDPã®ã¿ã䜿çšããããšããå§ãããŸãã TCPãšUDPãäžç·ã«äœ¿çšããªãã§ãã ããã代ããã«ãUDPã«åºã¥ããŠãå¿ èŠãªTCPããããããç¬èªã«å®è£ ããæ¹æ³ãåŠã¶æ¹ãè¯ãã§ãããã
次ã®èšäºã§ã¯ãUDPããŒã¹ã®æ¥ç¶ã䜿çšããŠç¬èªã®ãããã³ã«ãå®è£ ããããšãããããŒã¿ãããŒã®ä¿¡é Œæ§ã®é«ãäŒéãšå¶åŸ¡ãå®çŸããå®è£ ãŸã§ããããè¡ãæ¹æ³ã説æããŸãã