{"id":92099,"date":"2020-08-22T19:42:21","date_gmt":"2020-08-22T17:42:21","guid":{"rendered":"https:\/\/prohoster.info\/blog\/novosti-interneta\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij"},"modified":"2020-08-22T19:42:21","modified_gmt":"2020-08-22T17:42:21","slug":"dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij","status":"publish","type":"post","link":"https:\/\/prohoster.info\/sq\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij","title":{"rendered":"Nj\u00eb API p\u00ebr komunikime direkte TCP dhe UDP po zhvillohet p\u00ebr Chrome","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Kompania Google <noindex><a rel=\"nofollow\" href=\"https:\/\/groups.google.com\/a\/chromium.org\/g\/blink-dev\/c\/ARtkaw4e9T4\/m\/npjeMssPCAAJ\">ka filluar<\/a><\/noindex> n\u00eb implementimin e API-s\u00eb s\u00eb re n\u00eb Chrome <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/WICG\/raw-sockets\/blob\/master\/docs\/explainer.md\">Raw Sockets<\/a><\/noindex>, duke lejon q\u00eb aplikacionet web t\u00eb vendosin lidhje direkte rrjetesh duke p\u00ebrdorur protokollin TCP dhe UDP. N\u00eb vitin 2015, konsorciumi W3C nd\u00ebrmori nj\u00eb p\u00ebrpjekje p\u00ebr standardizimin e API &#171;<noindex><a rel=\"nofollow\" href=\"https:\/\/www.w3.org\/TR\/tcp-udp-sockets\/\">TCP and UDP Socket<\/a><\/noindex>&#171;, por pjes\u00ebmarr\u00ebsit e grupit t\u00eb pun\u00ebs nuk arrit\u00ebn nj\u00eb konsensus dhe zhvillimi i k\u00ebtij API u ndal.<\/p>\n<p>Nevoja p\u00ebr t\u00eb shtuar nj\u00eb API t\u00eb ri shpjegohet nga mund\u00ebsia e nd\u00ebrveprimit me pajisjet rrjet q\u00eb p\u00ebrdorin protokolle t\u00eb veta, q\u00eb funksionojn\u00eb sip\u00ebr TCP dhe UDP, dhe nuk mb\u00ebshtesin nd\u00ebrveprimin p\u00ebrmes HTTPS ose WebSockets. V\u00ebrehet se API Raw Sockets do t\u00eb plot\u00ebsoj\u00eb t\u00eb existente n\u00eb shfletues interfestat e programimit t\u00eb nivelit t\u00eb ul\u00ebt WebUSB, WebMIDI dhe WebBluetooth, t\u00eb cilat lejojn\u00eb nd\u00ebrveprimin me pajisje t\u00eb lokalizuara.<\/p>\n<p>P\u00ebr t\u00eb eliminuar ndikimin negativ mbi sigurin\u00eb, API Raw Sockets do t\u00eb lejoj\u00eb k\u00ebrkesa rrjeti vet\u00ebm t\u00eb iniciuara me p\u00eblqimin e p\u00ebrdoruesit dhe t\u00eb kufizuara n\u00eb list\u00ebn e hosteve t\u00eb lejuara nga p\u00ebrdoruesi. P\u00ebrdoruesi do t\u00eb duhet t\u00eb konfirmoj\u00eb n\u00eb m\u00ebnyr\u00eb t\u00eb qart\u00eb p\u00ebrpjekjen e par\u00eb t\u00eb lidhjes p\u00ebr nj\u00eb host t\u00eb ri. Me nj\u00eb flamur t\u00eb ve\u00e7ant\u00eb, p\u00ebrdoruesit do t'u mund\u00ebsohet t\u00eb \u00e7aktivizojn\u00eb shfaqjen e k\u00ebrkesave t\u00eb p\u00ebrs\u00ebritura p\u00ebr konfirmimin e operacionit p\u00ebr lidhje t\u00eb p\u00ebrs\u00ebritura me t\u00eb nj\u00ebjtin host. P\u00ebr t\u00eb parandaluar sulmet DDoS, intensiteti i k\u00ebrkesave n\u00ebp\u00ebrmjet Raw Sockets do t\u00eb jet\u00eb i kufizuar, dhe d\u00ebrgimi i k\u00ebrkesave do t\u00eb jet\u00eb i mundur vet\u00ebm pas nd\u00ebrveprimit t\u00eb p\u00ebrdoruesit me faqen. Paketa UDP, t\u00eb marra nga hoste t\u00eb pa miratuara nga p\u00ebrdoruesi, do t\u00eb injorohen dhe nuk do t\u00eb arrijn\u00eb n\u00eb aplikacionin web.<\/p>\n<p>  Implementimi fillestar nuk parashikon krijimin e soketeve q\u00eb d\u00ebgjojn\u00eb, por n\u00eb t\u00eb ardhmen nuk p\u00ebrjashtohet ofrimi i thirrjeve p\u00ebr t\u00eb pranuar lidhje hyr\u00ebse nga localhost ose nj\u00eb list\u00eb hostesh t\u00eb njohur. Gjithashtu, p\u00ebrmendet nevoja p\u00ebr mbrojtje nga sulmet &#171;<noindex><a rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=52169\">DNS rebinding<\/a><\/noindex>&#187; (sulmi mund t\u00eb ndryshoj\u00eb adres\u00ebn IP p\u00ebr nj\u00eb em\u00ebr domeni t\u00eb miratuar nga p\u00ebrdoruesi n\u00eb nivelin DNS dhe t\u00eb ket\u00eb akses n\u00eb hoste t\u00eb tjer\u00eb). Q aksesin n\u00eb domainet q\u00eb zgjidhen n\u00eb 127.0.0.0\/8 dhe rrjetin intranet \u00ebsht\u00eb planifikuar t\u00eb bllokohet (k\u00ebrkesat p\u00ebr localhost propozohet t\u00eb lejohet vet\u00ebm me futjen e qart\u00eb t\u00eb adres\u00ebs IP n\u00eb form\u00ebn e konfirmimit).<\/p>\n<p>N\u00eb mesin e rreziqeve q\u00eb mund t\u00eb shfaqen gjat\u00eb implementimit t\u00eb nj\u00eb API t\u00eb ri, theksohet refuzimi i mundsh\u00ebm nga prodhuesit e shfletuesve t\u00eb tjer\u00eb, gj\u00eb q\u00eb mund t\u00eb shkaktoj\u00eb probleme me p\u00ebrputhshm\u00ebrin\u00eb. Zhvilluesit e motor\u00ebve Mozilla Gecko dhe WebKit ende <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/mozilla\/standards-positions\/issues\/431\">nuk kan\u00eb zhvilluar<\/a><\/noindex> pozit\u00ebn e tyre n\u00eb lidhje me implementimin e mundsh\u00ebm t\u00eb API Raw Sockets, por kompania Mozilla m\u00eb par\u00eb p\u00ebr projektin Firefox OS (B2G) ka propozuar <noindex><a rel=\"nofollow\" href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Archive\/B2G_OS\/API\/TCPSocket\">nj\u00eb API t\u00eb ngjash\u00ebm<\/a><\/noindex>. N\u00eb rast se miratohet n\u00eb faz\u00ebn e par\u00eb, API Raw Sockets planifikohet t\u00eb aktivizohet n\u00eb Chrome OS, dhe pastaj t\u00eb ofrohet p\u00ebrdoruesve t\u00eb Chrome n\u00eb sistemet e tjera.<\/p>\n<p>Zhvilluesit e uebit <noindex><a rel=\"nofollow\" href=\"https:\/\/discourse.wicg.io\/t\/filling-the-remaining-gap-between-websocket-webrtc-and-webtranspor\/4366\">e kan\u00eb pritur pozitivisht<\/a><\/noindex> API-n\u00eb e re dhe kan\u00eb shprehur shum\u00eb ide t\u00eb reja p\u00ebr aplikimin e saj n\u00eb fusha ku API-t\u00eb XMLHttpRequest, WebSocket dhe WebRTC nuk jan\u00eb t\u00eb mjaftueshme (nga krijimi i klient\u00ebve t\u00eb shfletuesit p\u00ebr SSH, RDP, IMAP, SMTP, IRC dhe protokollet e printimit deri te zhvillimi i sistemeve t\u00eb shp\u00ebrndara P2P me DHT (Distributed Hash Table), mb\u00ebshtetje p\u00ebr IPFS dhe bashk\u00ebveprimi me protokollet specifike t\u00eb pajisjeve IoT).<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Burimi: <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=53582\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Google \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 Chrome \u043d\u043e\u0432\u043e\u0433\u043e API Raw Sockets, \u043f\u043e\u0437\u0432\u043e\u043b\u044f\u044e\u0449\u0435\u0433\u043e web-\u043f\u0440\u0438\u043b\u043e\u0436\u0435\u043d\u0438\u044f\u043c \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0442\u044c \u043f\u0440\u044f\u043c\u044b\u0435 \u0441\u0435\u0442\u0435\u0432\u044b\u0435 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f \u0441 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435\u043c \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b\u043e\u0432 TCP \u0438 UDP. \u0412 2015 \u0433\u043e\u0434\u0443 \u043a\u043e\u043d\u0441\u043e\u0440\u0446\u0438\u0443\u043c\u043e\u043c W3C \u0443\u0436\u0435 \u0431\u044b\u043b\u0430 \u043f\u0440\u0435\u0434\u043f\u0440\u0438\u043d\u044f\u0442\u0430 \u043f\u043e\u043f\u044b\u0442\u043a\u0430 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0438\u0437\u0430\u0446\u0438\u0438 API &#171;TCP and UDP Socket&#171;, \u043d\u043e \u0443\u0447\u0430\u0441\u0442\u043d\u0438\u043a\u0438 \u0440\u0430\u0431\u043e\u0447\u0435\u0439 \u0433\u0440\u0443\u043f\u043f\u044b \u043d\u0435 \u0434\u043e\u0441\u0442\u0438\u0433\u043b\u0438 \u043a\u043e\u043d\u0441\u0435\u043d\u0441\u0443\u0441\u0430 \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0434\u0430\u043d\u043d\u043e\u0433\u043e API \u0431\u044b\u043b\u0430 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u0430. \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c \u0434\u043e\u0431\u0430\u0432\u043b\u0435\u043d\u0438\u044f \u043d\u043e\u0432\u043e\u0433\u043e API [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-92099","post","type-post","status-publish","format-standard","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Google \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 Chrome \u043d\u043e\u0432\u043e\u0433\u043e API\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/sq\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"sq_AL\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u0414\u043b\u044f Chrome \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f API \u0434\u043b\u044f \u043f\u0440\u044f\u043c\u044b\u0445 TCP \u0438 UDP \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0439 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Google \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 Chrome \u043d\u043e\u0432\u043e\u0433\u043e API\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/sq\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2020-08-22T17:42:21+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2020-08-22T17:42:21+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47P\u00ebr Chrome po zhvillohet API p\u00ebr komunikime direkte TCP dhe UDP | ProHoster","description":"Kompania Google ka filluar implementimin e nj\u00eb API t\u00eb ri n\u00eb Chrome","canonical_url":"https:\/\/prohoster.info\/sq\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"sq_AL","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u0414\u043b\u044f Chrome \u0440\u0430\u0437\u0432\u0438\u0432\u0430\u0435\u0442\u0441\u044f API \u0434\u043b\u044f \u043f\u0440\u044f\u043c\u044b\u0445 TCP \u0438 UDP \u043a\u043e\u043c\u043c\u0443\u043d\u0438\u043a\u0430\u0446\u0438\u0439 | ProHoster","og:description":"\u041a\u043e\u043c\u043f\u0430\u043d\u0438\u044f Google \u043f\u0440\u0438\u0441\u0442\u0443\u043f\u0438\u043b\u0430 \u043a \u0440\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u0438 \u0432 Chrome \u043d\u043e\u0432\u043e\u0433\u043e API","og:url":"https:\/\/prohoster.info\/sq\/blog\/news\/dlya-chrome-razvivaetsya-api-dlya-pryamyh-tcp-i-udp-kommunikaczij","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2020-08-22T17:42:21+00:00","article:modified_time":"2020-08-22T17:42:21+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"92099","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":null,"breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-02-28 12:15:35","updated":"2022-09-28 13:53:48","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/92099","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/comments?post=92099"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/posts\/92099\/revisions"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/media?parent=92099"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/categories?post=92099"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/sq\/wp-json\/wp\/v2\/tags?post=92099"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}