|
|
|
|
|
|
|
|
|
|
|
|
|
![]() ![]() |
![]() ![]() ![]() |
![]() ![]() |
![]() |
![]() |
![]() |
![]() |
chamchi | ||||||
![]() |
|||||||
![]() |
http://none | ||||||
![]() |
|||||||
![]() |
¼ÒÄÏÇÁ·Î±×·¡¹Ö - recvfrom À̳ª sendto ÇÔ¼öÀÇ Æ¯Â¡ | ||||||
![]() |
|||||||
http://www.hackerschool.org/HS_Boards/zboard.php?desc=asc&no=6388 [º¹»ç]
Hit : 6218 Date : 2013/09/18 03:26
|
|||||||
![]() |
![]() | ![]() |
![]() | |
kumi123 | ±Û½ê¿ä.. Àü ±×³É, udp »ç¿ë½Ã¿¡, ¾²´Â ÀÔÃâ·Â ÇÔ¼ö¶ó°í¸¸ ¹è¿ü´Âµ¥¿ä | 2013/09/20 | |
Chris Ruiel | udp ÀÇ sendto °¡ block À» ÇÒÁö ¾ÈÇÒÁö´Â OS ¸¶´Ù Á¶±Ý¾¿ Ʋ¸°°Í °°½À´Ï´Ù. Linux ÀÇ °æ¿ì block µÉ ¼ö ÀÖ°í, ±×°ÍÀ» °áÁ¤ÇÏ´Â ¿äÀÎÀº socket ÀÇ send buffer °¡ ²Ë Â÷ÀÖ³Ä ¾Æ´Ï³Ä ÀÔ´Ï´Ù. /proc/sys/net/core/wmem_max °ªÀ» ´Ã¸®½ÅÈÄ, socket ÀÇ ¿É¼ÇÁß SO_SNDBUF °ªÀ» ´Ã¸®½Ã¸é µË´Ï´Ù. BSD °è¿ÀÎ °æ¿ì ¾Æ¸¶ block ÇÏÁö ¾Ê°í ENOBUFS ¿¡·¯¸¦ ³»´Â°Í °°½À´Ï´Ù. Âü°í) À§ÀÇ ¾ê±â´Â socket ÀÌ blocking mode ·Î µ¿ÀÛÇÒ¶§¸¦ °¡Á¤ÇÑ°ÍÀÔ´Ï´Ù. non-blocking mode ÀÏ °æ¿ì¿¡´Â ´Þ¶óÁö°Ô µË´Ï´Ù. recveform ÇÔ¼öµµ °°Àº°æ¿ì¶ó°í º¸¿© Áý´Ï´Ù^^ |
2013/09/27 | |
![]() |
|