{"id":18,"date":"2022-11-30T19:35:00","date_gmt":"2022-11-30T10:35:00","guid":{"rendered":"http:\/\/blog.twarelab.com\/?p=18"},"modified":"2023-02-07T19:04:21","modified_gmt":"2023-02-07T10:04:21","slug":"tw100xx-tcp-server","status":"publish","type":"post","link":"https:\/\/twarelab.com\/en\/blog\/tw100xx-tcp-server\/","title":{"rendered":"[4CH S2E] TW100xx &#8211; TCP Server \ubaa8\ub4dc \ud29c\ud1a0\ub9ac\uc5bc"},"content":{"rendered":"<h2 class=\"wp-block-heading\">TCP Server Mode<\/h2>\n\n\n\n<p>TW100\uc744 TCP Server Mode\ub85c \uc124\uc815\ud558\uae30 \uc704\ud55c \ud30c\ub77c\ubbf8\ud130 \uac12\uc740 \uc544\ub798\uc640 \uac19\ub2e4.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Operation Mode : Server Mode<\/li>\n\n\n\n<li>Communication Parameter\n<ul class=\"wp-block-list\">\n<li>Local Port : 5000<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<p>\uc704\uc640 \uac19\uc774 \uc124\uc815\ud558\uba74 TW100\uc740 Local Port \ubc88\ud638\ub85c TCP Server Socket\uc744 \uc5f4\uace0 TCP Client\ub85c\ubd80\ud130 \uc5f0\uacb0\uc744 \uae30\ub2e4\ub9b0\ub2e4.<\/p>\n\n\n\n<p>\uc124\uc815\ud234\uc744 \uc774\uc6a9\ud558\uc5ec, \uc138\ud305\ud558\ub294 \ud654\uba74\uc758 \uc608\ub294 \uc544\ub798\uc640 \uac19\ub2e4.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"993\" src=\"http:\/\/twarelab.com\/wp-content\/uploads\/2023\/02\/tcp_server_setting_example-1024x993.png\" alt=\"\" class=\"wp-image-1480\" srcset=\"https:\/\/twarelab.com\/wp-content\/uploads\/2023\/02\/tcp_server_setting_example-1024x993.png 1024w, https:\/\/twarelab.com\/wp-content\/uploads\/2023\/02\/tcp_server_setting_example-600x582.png 600w, https:\/\/twarelab.com\/wp-content\/uploads\/2023\/02\/tcp_server_setting_example-300x291.png 300w, https:\/\/twarelab.com\/wp-content\/uploads\/2023\/02\/tcp_server_setting_example-768x745.png 768w, https:\/\/twarelab.com\/wp-content\/uploads\/2023\/02\/tcp_server_setting_example-12x12.png 12w, https:\/\/twarelab.com\/wp-content\/uploads\/2023\/02\/tcp_server_setting_example.png 1163w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong><mark>TW100xx Server mode<\/mark><\/strong><\/figcaption><\/figure>\n\n\n\n<p>UART Channel 1 \uc5d0 \uc9c0\uc815\ub41c \ub370\uc774\ud130\ub97c TCP\/IP\ub97c \ud1b5\ud574 \ubcf4\ub0b4\ub294 \uc138\ud305 \ud654\uba74\uc774\ub2e4. \uc5ec\uae30\uc11c Operation mode\ub97c &#8220;Server mode&#8221;\ub85c \uc124\uc815\ud558\uba74, TCP Server mode \ub85c \uc124\uc815\ub418\uc5b4 TCP \uc5f0\uacb0\uc744 \ub300\uae30\ud558\uace0 \uc788\ub2e4.<\/p>\n\n\n\n<p>TCP \uc5f0\uacb0\uc774 \uc124\uc815\ub418\uba74, \uc774 \uc5f0\uacb0 \ud1b5\ub85c\ub97c \ud1b5\ud574 UART Channel 1\uc5d0\uc11c \ub4e4\uc5b4\uc624\ub294 \ub370\uc774\ud130\ub97c TCP\/IP \ub124\ud2b8\uc6cc\ud06c\ub85c \uc804\uc1a1\ud558\uac8c \ub41c\ub2e4. TCP \uc5f0\uacb0\uc5d0\uc11c \ub4e4\uc5b4\uc624\ub294 \ub370\uc774\ud130\ub294 \uc5ed\uc73c\ub85c UART Channel 1\ub85c \ub370\uc774\ud130\ub97c \uc804\uc1a1\ud55c\ub2e4.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Function Check<\/h2>\n\n\n\n<p>\uc774\uc81c \uc2e4\uc81c \ub3d9\uc791\uc744 \ud655\uc778\ud574 \ubcf4\uc790. <a href=\"http:\/\/twarelab.com\/en\/blog\/appearance-guide\/\" data-type=\"post\">\uc55e\uc11c \uc18c\uac1c\ud55c TCP\/IP \ud1b5\uc2e0 \ud14c\uc2a4\ud2b8 \ud234\uc778 Hercules<\/a> \ub97c \uc0ac\uc6a9\ud574 \ubcf8\ub2e4.<\/p>\n\n\n\n<p>\uba3c\uc800, Hercules\ub97c \uc2e4\ud589\ud558\uace0 TCP \uc5f0\uacb0 \uc2dc\ub3c4\ub97c \ud55c\ub2e4. \uc124\uc815 \uac12\uc740 \uc704\uc5d0\uc11c \uc124\uc815\ud55c \uac12\uc744 \uc0ac\uc6a9\ud55c\ub2e4.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"448\" src=\"http:\/\/twarelab.com\/wp-content\/uploads\/2022\/11\/image-4-1024x448.png\" alt=\"\" class=\"wp-image-410\" srcset=\"https:\/\/twarelab.com\/wp-content\/uploads\/2022\/11\/image-4-1024x448.png 1024w, https:\/\/twarelab.com\/wp-content\/uploads\/2022\/11\/image-4-600x263.png 600w, https:\/\/twarelab.com\/wp-content\/uploads\/2022\/11\/image-4-300x131.png 300w, https:\/\/twarelab.com\/wp-content\/uploads\/2022\/11\/image-4-768x336.png 768w, https:\/\/twarelab.com\/wp-content\/uploads\/2022\/11\/image-4-18x8.png 18w, https:\/\/twarelab.com\/wp-content\/uploads\/2022\/11\/image-4-1200x525.png 1200w, https:\/\/twarelab.com\/wp-content\/uploads\/2022\/11\/image-4.png 1257w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\"><strong><mark>Hercules TCP Client setting<\/mark><\/strong><\/figcaption><\/figure>\n\n\n\n<ol class=\"wp-block-list\">\n<li>TCP Client \ud0ed\uc744 \uc120\ud0dd\ud558\uace0,<\/li>\n\n\n\n<li>TCP Server \uc8fc\uc18c\uc640 \ud3ec\ud2b8 \uc815\ubcf4\ub97c \uc785\ub825\ud558\uace0,<\/li>\n\n\n\n<li>Connect \ubc84\ud2bc\uc744 \ub204\ub974\uba74 \uc644\uc131<\/li>\n<\/ol>\n\n\n\n<p>\uc774\uc81c \ub370\uc774\ud130\ub97c \ubcf4\ub0b4\uba74, TW100xx UART Channel 1\ub85c \ubcf4\ub0b8 \ub370\uc774\ud130\uac00 \uc218\uc2e0\ub418\ub294 \uac83\uc744 \ud655\uc778\ud560 \uc218 \uc788\ub2e4. \ubc18\ub300\uc758 \uacbd\uc6b0\ub3c4 \uc798 \ub3d9\uc791\ud55c\ub2e4.<\/p>\n\n\n\n<p>\uc774\uc81c UART Channel 2, 3, 4 \uc5d0 \ub300\ud574\uc11c\ub3c4 \ub3d9\uc77c\ud558\uac8c \uc801\uc6a9\ud574\uc11c \ud14c\uc2a4\ud2b8 \ud574 \ubcf4\uc2dc\uae38 \uad8c\ud55c\ub2e4. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Notes<\/h2>\n\n\n\n<p>\uac19\uc740 \ud3ec\ud2b8 \ubc88\ud638\ub97c \uc918\ub3c4 \ub418\uae34 \ud55c\ub370, \uc774\ub807\uac8c \ub418\uba74 \uc5b4\ub5a4 UART Channel \uc774 TCP Client \uc5d0 \uc5f0\uacb0\ub418\ub294\uc9c0 \ud655\uc778\ud558\uae30 \uc5b4\ub835\ub2e4. \uadf8\ub798\uc11c, \uac01\uac01 \ub2e4\ub978 \uc11c\ubc84 \ud3ec\ud2b8 \ubc88\ud638\ub97c \uc8fc\ub294 \uac83\uc744 \uad8c\uace0\ud55c\ub2e4.<\/p>","protected":false},"excerpt":{"rendered":"<p>TCP Server Mode TW100\uc744 TCP Server Mode\ub85c \uc124\uc815\ud558\uae30 \uc704\ud55c \ud30c\ub77c\ubbf8\ud130 \uac12\uc740 \uc544\ub798\uc640 \uac19\ub2e4. \uc704\uc640 \uac19\uc774 \uc124\uc815\ud558\uba74 TW100\uc740 Local Port \ubc88\ud638\ub85c TCP Server Socket\uc744 \uc5f4\uace0 TCP Client\ub85c\ubd80\ud130 \uc5f0\uacb0\uc744 \uae30\ub2e4\ub9b0\ub2e4. \uc124\uc815\ud234\uc744 \uc774\uc6a9\ud558\uc5ec, \uc138\ud305\ud558\ub294 \ud654\uba74\uc758 \uc608\ub294 \uc544\ub798\uc640 \uac19\ub2e4. UART Channel 1 \uc5d0 \uc9c0\uc815\ub41c \ub370\uc774\ud130\ub97c TCP\/IP\ub97c \ud1b5\ud574 \ubcf4\ub0b4\ub294 \uc138\ud305 \ud654\uba74\uc774\ub2e4. \uc5ec\uae30\uc11c Operation mode\ub97c &#8220;Server [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":624,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1,12],"tags":[27,26,14,25,28],"class_list":["post-18","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-blog","category-ko","tag-note","tag-server","tag-tcp","tag-tw100","tag-tw100xx"],"jetpack_featured_media_url":"https:\/\/twarelab.com\/wp-content\/uploads\/2022\/11\/1148820.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twarelab.com\/en\/wp-json\/wp\/v2\/posts\/18","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twarelab.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/twarelab.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/twarelab.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/twarelab.com\/en\/wp-json\/wp\/v2\/comments?post=18"}],"version-history":[{"count":7,"href":"https:\/\/twarelab.com\/en\/wp-json\/wp\/v2\/posts\/18\/revisions"}],"predecessor-version":[{"id":1481,"href":"https:\/\/twarelab.com\/en\/wp-json\/wp\/v2\/posts\/18\/revisions\/1481"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/twarelab.com\/en\/wp-json\/wp\/v2\/media\/624"}],"wp:attachment":[{"href":"https:\/\/twarelab.com\/en\/wp-json\/wp\/v2\/media?parent=18"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/twarelab.com\/en\/wp-json\/wp\/v2\/categories?post=18"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/twarelab.com\/en\/wp-json\/wp\/v2\/tags?post=18"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}