SlideShare uma empresa Scribd logo
1 de 8
Sample code for this demo var p = new Plug(‘ws://onmessage.ws/msgpack_chat’, ‘plug.msgpack.js’); p.onmessage = function(e) { alert(e.data); } p.connect(); p.send(‘Hello’); p.disconnect();
msgpack_chat.html plug.js plug.msgpack.js msgpack.codec.js File Relationships <script type=‘text/javascript’ src=‘plug.js’> includes automatically. (but not resolve dependencies this time) Impremented by uupaa-san https://github.com/uupaa/msgpack.js
msgpack_chat.html DATA flow for send p.send(‘Hello’); msgpack.pack(‘Hello’).toString(); 1  ‘Hello’ ‘Hello’ 2 3 plug.js plug.msgpack.js msgpack.codec.js 5 4 ‘165, 72, 101, 108, 108, 111’ WebSocket.send(Array.toString()) Because of hybi-00 spec can send only text. ‘165, 72, 101, 108, 108, 111’ chatserver
DATA flow for recv p.onmessage = function(e) {    alert(e.data); // === ‘Hello’ }; msgpack_chat.html 5  ‘Hello’ 4  ‘Hello’ 2 3 plug.js plug.msgpack.js msgpack.codec.js 1 ‘165, 72, 101, 108, 108, 111’ chatserver Make array from CSV String. msgpack.unpack([165, 72, 101, 108, 108, 111]);
msgpack_rpc_client.html msgpack.rpc.client.js plug.js plug.msgpack.js msgpack.codec.js Next Target
ssh_client.html ssh.client.js etc. Implement several network protos by Javascript plug.js plug.ssh.js etc. Future Target
proto.client.js mod_websocket for lighty can realize this world! Lighty w/ mod_websocket MessagePack::RPC::Server SSHd SMTPd ・・・ You can plug several existing TCP Servers only with writing Javascript Code! And also can plug special servers if you write ServerSide.
Lack to realize… Browser support for WebSocket.{send,onmessage}(ArrayBuffer) Implementation of Stream desirializer by Javascript for MessagePack And also my knowledge time

Mais conteúdo relacionado

Mais procurados

Any event intro
Any event introAny event intro
Any event introqiang
 
FOSDEM 2012: Practical implementation of promise theory in CFEngine
FOSDEM 2012: Practical implementation of promise theory in CFEngineFOSDEM 2012: Practical implementation of promise theory in CFEngine
FOSDEM 2012: Practical implementation of promise theory in CFEnginedottedmag
 
Chromium Embedded Framework + Go at Brooklyn JS
Chromium Embedded Framework + Go at Brooklyn JSChromium Embedded Framework + Go at Brooklyn JS
Chromium Embedded Framework + Go at Brooklyn JSquirkey
 
SDPHP - Percona Toolkit (It's Basically Magic)
SDPHP - Percona Toolkit (It's Basically Magic)SDPHP - Percona Toolkit (It's Basically Magic)
SDPHP - Percona Toolkit (It's Basically Magic)Robert Swisher
 
The MetaCPAN VM Part II (Using the VM)
The MetaCPAN VM Part II (Using the VM)The MetaCPAN VM Part II (Using the VM)
The MetaCPAN VM Part II (Using the VM)Olaf Alders
 
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - 김민종
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - 김민종{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - 김민종
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - 김민종jscamp_kr
 
Demo for Why Use PowerShell
Demo for Why Use PowerShellDemo for Why Use PowerShell
Demo for Why Use PowerShellSirajJamdar
 
Hunting for malicious modules in npm - NodeSummit
Hunting for malicious modules in npm - NodeSummitHunting for malicious modules in npm - NodeSummit
Hunting for malicious modules in npm - NodeSummitAdam Baldwin
 
Firewall filters
Firewall filtersFirewall filters
Firewall filtersprivado
 
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQ
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQRealtime Analytics Using MongoDB, Python, Gevent, and ZeroMQ
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQRick Copeland
 
FluentLeniumで困った話
FluentLeniumで困った話FluentLeniumで困った話
FluentLeniumで困った話Yuuki Ooguro
 
Puppet camp Portland 2015: -windows (1)
Puppet camp Portland 2015: -windows (1)Puppet camp Portland 2015: -windows (1)
Puppet camp Portland 2015: -windows (1)Puppet
 
Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...
Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...
Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...Alex Soto
 
Open Social Data (Jaca), Alejandro Rivero
Open Social Data (Jaca), Alejandro RiveroOpen Social Data (Jaca), Alejandro Rivero
Open Social Data (Jaca), Alejandro RiveroAragón Open Data
 
App-o-Lockalypse now!
App-o-Lockalypse now!App-o-Lockalypse now!
App-o-Lockalypse now!Oddvar Moe
 
Unity and WebSockets
Unity and WebSocketsUnity and WebSockets
Unity and WebSocketsJosh Glover
 

Mais procurados (20)

Selenium sandwich-2
Selenium sandwich-2Selenium sandwich-2
Selenium sandwich-2
 
Any event intro
Any event introAny event intro
Any event intro
 
Mangling
Mangling Mangling
Mangling
 
FOSDEM 2012: Practical implementation of promise theory in CFEngine
FOSDEM 2012: Practical implementation of promise theory in CFEngineFOSDEM 2012: Practical implementation of promise theory in CFEngine
FOSDEM 2012: Practical implementation of promise theory in CFEngine
 
Chromium Embedded Framework + Go at Brooklyn JS
Chromium Embedded Framework + Go at Brooklyn JSChromium Embedded Framework + Go at Brooklyn JS
Chromium Embedded Framework + Go at Brooklyn JS
 
SDPHP - Percona Toolkit (It's Basically Magic)
SDPHP - Percona Toolkit (It's Basically Magic)SDPHP - Percona Toolkit (It's Basically Magic)
SDPHP - Percona Toolkit (It's Basically Magic)
 
The MetaCPAN VM Part II (Using the VM)
The MetaCPAN VM Part II (Using the VM)The MetaCPAN VM Part II (Using the VM)
The MetaCPAN VM Part II (Using the VM)
 
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - 김민종
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - 김민종{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - 김민종
{ jscamp : "Hannam" } Qunit Test Automation using Hudson and Selenium - 김민종
 
Demo for Why Use PowerShell
Demo for Why Use PowerShellDemo for Why Use PowerShell
Demo for Why Use PowerShell
 
Hunting for malicious modules in npm - NodeSummit
Hunting for malicious modules in npm - NodeSummitHunting for malicious modules in npm - NodeSummit
Hunting for malicious modules in npm - NodeSummit
 
Firewall filters
Firewall filtersFirewall filters
Firewall filters
 
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQ
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQRealtime Analytics Using MongoDB, Python, Gevent, and ZeroMQ
Realtime Analytics Using MongoDB, Python, Gevent, and ZeroMQ
 
FluentLeniumで困った話
FluentLeniumで困った話FluentLeniumで困った話
FluentLeniumで困った話
 
Puppet camp Portland 2015: -windows (1)
Puppet camp Portland 2015: -windows (1)Puppet camp Portland 2015: -windows (1)
Puppet camp Portland 2015: -windows (1)
 
Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...
Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...
Develop and Deploy your JavaEE micro service in less than 5 minutes with Apac...
 
Open Social Data (Jaca), Alejandro Rivero
Open Social Data (Jaca), Alejandro RiveroOpen Social Data (Jaca), Alejandro Rivero
Open Social Data (Jaca), Alejandro Rivero
 
App-o-Lockalypse now!
App-o-Lockalypse now!App-o-Lockalypse now!
App-o-Lockalypse now!
 
Tres Gemas De Ruby
Tres Gemas De RubyTres Gemas De Ruby
Tres Gemas De Ruby
 
Source Plugins
Source PluginsSource Plugins
Source Plugins
 
Unity and WebSockets
Unity and WebSocketsUnity and WebSockets
Unity and WebSockets
 

Destaque

Automotive trainer persoonlijke training - Sander De Clerck.
Automotive trainer  persoonlijke training - Sander De Clerck.Automotive trainer  persoonlijke training - Sander De Clerck.
Automotive trainer persoonlijke training - Sander De Clerck.Clerck Sander
 
Asmahan Saadeldin Salih Mohamed cv
Asmahan Saadeldin Salih Mohamed cv Asmahan Saadeldin Salih Mohamed cv
Asmahan Saadeldin Salih Mohamed cv Asmahan Salih
 
Software-Native metrics: Depsy lessons learned
Software-Native metrics: Depsy lessons learnedSoftware-Native metrics: Depsy lessons learned
Software-Native metrics: Depsy lessons learnedHeather Piwowar
 
Who Declares International Concern Over Swine Flu
Who Declares International Concern Over Swine FluWho Declares International Concern Over Swine Flu
Who Declares International Concern Over Swine FluNATURE 4EVER
 
কার্যপত্র Lecturer 54
কার্যপত্র Lecturer 54কার্যপত্র Lecturer 54
কার্যপত্র Lecturer 54Cambriannews
 
It all started with a mouse - A case study on disney
It all started with a mouse - A case study on disneyIt all started with a mouse - A case study on disney
It all started with a mouse - A case study on disneySai Ganesh
 
DoRoad by 市川電産 (Hackcars day 2015)
DoRoad by 市川電産 (Hackcars day 2015)DoRoad by 市川電産 (Hackcars day 2015)
DoRoad by 市川電産 (Hackcars day 2015)Hiroyuki_Ichikawa
 
Rosemary Marsh cv final
Rosemary Marsh cv final Rosemary Marsh cv final
Rosemary Marsh cv final Rosemary Marsh
 
English Day la Garrotxa 2017. Groups
English Day la Garrotxa 2017. GroupsEnglish Day la Garrotxa 2017. Groups
English Day la Garrotxa 2017. GroupsJoanfluvia
 
Communication Soft Skills
Communication Soft SkillsCommunication Soft Skills
Communication Soft SkillsMegan Finley
 
Social contexts of second language acquisition
Social contexts of second language acquisitionSocial contexts of second language acquisition
Social contexts of second language acquisitionVale Caicedo
 
FINAL CV RESUME edited
FINAL CV RESUME editedFINAL CV RESUME edited
FINAL CV RESUME editedmahendra shah
 

Destaque (14)

Automotive trainer persoonlijke training - Sander De Clerck.
Automotive trainer  persoonlijke training - Sander De Clerck.Automotive trainer  persoonlijke training - Sander De Clerck.
Automotive trainer persoonlijke training - Sander De Clerck.
 
Asmahan Saadeldin Salih Mohamed cv
Asmahan Saadeldin Salih Mohamed cv Asmahan Saadeldin Salih Mohamed cv
Asmahan Saadeldin Salih Mohamed cv
 
Software-Native metrics: Depsy lessons learned
Software-Native metrics: Depsy lessons learnedSoftware-Native metrics: Depsy lessons learned
Software-Native metrics: Depsy lessons learned
 
Who Declares International Concern Over Swine Flu
Who Declares International Concern Over Swine FluWho Declares International Concern Over Swine Flu
Who Declares International Concern Over Swine Flu
 
কার্যপত্র Lecturer 54
কার্যপত্র Lecturer 54কার্যপত্র Lecturer 54
কার্যপত্র Lecturer 54
 
It all started with a mouse - A case study on disney
It all started with a mouse - A case study on disneyIt all started with a mouse - A case study on disney
It all started with a mouse - A case study on disney
 
DoRoad by 市川電産 (Hackcars day 2015)
DoRoad by 市川電産 (Hackcars day 2015)DoRoad by 市川電産 (Hackcars day 2015)
DoRoad by 市川電産 (Hackcars day 2015)
 
Rosemary Marsh cv final
Rosemary Marsh cv final Rosemary Marsh cv final
Rosemary Marsh cv final
 
Neuro ex
Neuro exNeuro ex
Neuro ex
 
English Day la Garrotxa 2017. Groups
English Day la Garrotxa 2017. GroupsEnglish Day la Garrotxa 2017. Groups
English Day la Garrotxa 2017. Groups
 
The South African Journal of Science - iThenticate
The South African Journal of Science - iThenticateThe South African Journal of Science - iThenticate
The South African Journal of Science - iThenticate
 
Communication Soft Skills
Communication Soft SkillsCommunication Soft Skills
Communication Soft Skills
 
Social contexts of second language acquisition
Social contexts of second language acquisitionSocial contexts of second language acquisition
Social contexts of second language acquisition
 
FINAL CV RESUME edited
FINAL CV RESUME editedFINAL CV RESUME edited
FINAL CV RESUME edited
 

Semelhante a Supplemental explanation WebSocket Demo.

Gpars concepts explained
Gpars concepts explainedGpars concepts explained
Gpars concepts explainedVaclav Pech
 
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)Igor Bronovskyy
 
Real-Time Python Web: Gevent and Socket.io
Real-Time Python Web: Gevent and Socket.ioReal-Time Python Web: Gevent and Socket.io
Real-Time Python Web: Gevent and Socket.ioRick Copeland
 
Security Challenges in Node.js
Security Challenges in Node.jsSecurity Challenges in Node.js
Security Challenges in Node.jsWebsecurify
 
ActiveWeb: Chicago Java User Group Presentation
ActiveWeb: Chicago Java User Group PresentationActiveWeb: Chicago Java User Group Presentation
ActiveWeb: Chicago Java User Group Presentationipolevoy
 
Charla EHU Noviembre 2014 - Desarrollo Web
Charla EHU Noviembre 2014 - Desarrollo WebCharla EHU Noviembre 2014 - Desarrollo Web
Charla EHU Noviembre 2014 - Desarrollo WebMikel Torres Ugarte
 
Boost your testing: End-to-End with Docker and Geb
 Boost your testing: End-to-End with Docker and Geb Boost your testing: End-to-End with Docker and Geb
Boost your testing: End-to-End with Docker and GebMarkus Schlichting
 
Introduction to Vert.x
Introduction to Vert.xIntroduction to Vert.x
Introduction to Vert.xYiguang Hu
 
Thread介紹
Thread介紹Thread介紹
Thread介紹Jack Chen
 
KSDG-iSlide App 開發心得分享
KSDG-iSlide App 開發心得分享KSDG-iSlide App 開發心得分享
KSDG-iSlide App 開發心得分享Chia Wei Tsai
 
Groovy Introduction - JAX Germany - 2008
Groovy Introduction - JAX Germany - 2008Groovy Introduction - JAX Germany - 2008
Groovy Introduction - JAX Germany - 2008Guillaume Laforge
 
A few good JavaScript development tools
A few good JavaScript development toolsA few good JavaScript development tools
A few good JavaScript development toolsSimon Kim
 
Learning Java 4 – Swing, SQL, and Security API
Learning Java 4 – Swing, SQL, and Security APILearning Java 4 – Swing, SQL, and Security API
Learning Java 4 – Swing, SQL, and Security APIcaswenson
 
The Real Time Web with XMPP
The Real Time Web with XMPPThe Real Time Web with XMPP
The Real Time Web with XMPPJack Moffitt
 
parenscript-tutorial
parenscript-tutorialparenscript-tutorial
parenscript-tutorialtutorialsruby
 
parenscript-tutorial
parenscript-tutorialparenscript-tutorial
parenscript-tutorialtutorialsruby
 

Semelhante a Supplemental explanation WebSocket Demo. (20)

Gpars concepts explained
Gpars concepts explainedGpars concepts explained
Gpars concepts explained
 
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
09 - express nodes on the right angle - vitaliy basyuk - it event 2013 (5)
 
Real-Time Python Web: Gevent and Socket.io
Real-Time Python Web: Gevent and Socket.ioReal-Time Python Web: Gevent and Socket.io
Real-Time Python Web: Gevent and Socket.io
 
Security Challenges in Node.js
Security Challenges in Node.jsSecurity Challenges in Node.js
Security Challenges in Node.js
 
ActiveWeb: Chicago Java User Group Presentation
ActiveWeb: Chicago Java User Group PresentationActiveWeb: Chicago Java User Group Presentation
ActiveWeb: Chicago Java User Group Presentation
 
Charla EHU Noviembre 2014 - Desarrollo Web
Charla EHU Noviembre 2014 - Desarrollo WebCharla EHU Noviembre 2014 - Desarrollo Web
Charla EHU Noviembre 2014 - Desarrollo Web
 
Ajax
AjaxAjax
Ajax
 
Boost your testing: End-to-End with Docker and Geb
 Boost your testing: End-to-End with Docker and Geb Boost your testing: End-to-End with Docker and Geb
Boost your testing: End-to-End with Docker and Geb
 
Introduction to Vert.x
Introduction to Vert.xIntroduction to Vert.x
Introduction to Vert.x
 
Thread介紹
Thread介紹Thread介紹
Thread介紹
 
Blockly
BlocklyBlockly
Blockly
 
KSDG-iSlide App 開發心得分享
KSDG-iSlide App 開發心得分享KSDG-iSlide App 開發心得分享
KSDG-iSlide App 開發心得分享
 
Groovy Introduction - JAX Germany - 2008
Groovy Introduction - JAX Germany - 2008Groovy Introduction - JAX Germany - 2008
Groovy Introduction - JAX Germany - 2008
 
A few good JavaScript development tools
A few good JavaScript development toolsA few good JavaScript development tools
A few good JavaScript development tools
 
Learning Java 4 – Swing, SQL, and Security API
Learning Java 4 – Swing, SQL, and Security APILearning Java 4 – Swing, SQL, and Security API
Learning Java 4 – Swing, SQL, and Security API
 
ES6 is Nigh
ES6 is NighES6 is Nigh
ES6 is Nigh
 
The Real Time Web with XMPP
The Real Time Web with XMPPThe Real Time Web with XMPP
The Real Time Web with XMPP
 
Twig Templating
Twig TemplatingTwig Templating
Twig Templating
 
parenscript-tutorial
parenscript-tutorialparenscript-tutorial
parenscript-tutorial
 
parenscript-tutorial
parenscript-tutorialparenscript-tutorial
parenscript-tutorial
 

Último

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 

Último (20)

Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 

Supplemental explanation WebSocket Demo.

  • 1. Sample code for this demo var p = new Plug(‘ws://onmessage.ws/msgpack_chat’, ‘plug.msgpack.js’); p.onmessage = function(e) { alert(e.data); } p.connect(); p.send(‘Hello’); p.disconnect();
  • 2. msgpack_chat.html plug.js plug.msgpack.js msgpack.codec.js File Relationships <script type=‘text/javascript’ src=‘plug.js’> includes automatically. (but not resolve dependencies this time) Impremented by uupaa-san https://github.com/uupaa/msgpack.js
  • 3. msgpack_chat.html DATA flow for send p.send(‘Hello’); msgpack.pack(‘Hello’).toString(); 1 ‘Hello’ ‘Hello’ 2 3 plug.js plug.msgpack.js msgpack.codec.js 5 4 ‘165, 72, 101, 108, 108, 111’ WebSocket.send(Array.toString()) Because of hybi-00 spec can send only text. ‘165, 72, 101, 108, 108, 111’ chatserver
  • 4. DATA flow for recv p.onmessage = function(e) { alert(e.data); // === ‘Hello’ }; msgpack_chat.html 5 ‘Hello’ 4 ‘Hello’ 2 3 plug.js plug.msgpack.js msgpack.codec.js 1 ‘165, 72, 101, 108, 108, 111’ chatserver Make array from CSV String. msgpack.unpack([165, 72, 101, 108, 108, 111]);
  • 5. msgpack_rpc_client.html msgpack.rpc.client.js plug.js plug.msgpack.js msgpack.codec.js Next Target
  • 6. ssh_client.html ssh.client.js etc. Implement several network protos by Javascript plug.js plug.ssh.js etc. Future Target
  • 7. proto.client.js mod_websocket for lighty can realize this world! Lighty w/ mod_websocket MessagePack::RPC::Server SSHd SMTPd ・・・ You can plug several existing TCP Servers only with writing Javascript Code! And also can plug special servers if you write ServerSide.
  • 8. Lack to realize… Browser support for WebSocket.{send,onmessage}(ArrayBuffer) Implementation of Stream desirializer by Javascript for MessagePack And also my knowledge time