PageSourceSearch

https://socket.io/assets/js/fc193641.cdf4a38a.js

js socket.io collected 2026-09-24 07:25:07 UTC 4,181 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunksample_website=self.webpackChunksample_website||[]).push([[3986],{3905:(t,e,r)=>{r.d(e,{Zo:()=>s,kt:()=>h});var o=r(7294);function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function a(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,o)}return r}function i(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?a(Object(r),!0).forEach((function(e){n(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function c(t,e){if(null==t)return{};var r,o,n=function(t,e){if(null==t)return{};var r,o,n={},a=Object.keys(t);for(o=0;o<a.length;o++)r=a[o],e.indexOf(r)>=0||(n[r]=t[r]);return n}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)r=a[o],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}var p=o.createContext({}),l=function(t){var e=o.useContext(p),r=e;return t&&(r="function"==typeof t?t(e):i(i({},e),t)),r},s=function(t){var e=l(t.components);return o.createElement(p.Provider,{value:e},t.children)},u="mdxType",m={inlineCode:"code",wrapper:function(t){var e=t.children;return o.createElement(o.Fragment,{},e)}},g=o.forwardRef((function(t,e){var r=t.components,n=t.mdxType,a=t.originalType,p=t.parentName,s=c(t,["components","mdxType","originalType","parentName"]),u=l(r),g=n,h=u["".concat(p,".").concat(g)]||u[g]||m[g]||a;return r?o.createElement(h,i(i({ref:e},s),{},{components:r})):o.createElement(h,i({ref:e},s))}));function h(t,e){var r=arguments,n=e&&e.mdxType;if("string"==typeof t||n){var a=r.length,i=new Array(a);i[0]=g;var c={};for(var p in e)hasOwnProperty.call(e,p)&&(c[p]=e[p]);c.originalType=t,c[u]="string"==typeof t?t:n,i[1]=c;for(var l=2;l<a;l++)i[l]=r[l];return o.createElement.apply(null,i)}return o.createElement.apply(null,r)}g.displayName="MDXCreateElement"},1070:(t,e,r)=>{r.r(e),r.d(e,{assets:()=>p,contentTitle:()=>i,default:()=>m,frontMatter:()=>a,metadata:()=>c,toc:()=>l});var o=r(3117),n=(r(7294),r(3905));const a={title:"Socket.IO P2P",slug:"/socket-io-p2p/",authors:[{name:"Tom Cartwright",title:"Maintainer of the Socket.IO P2P project",url:"https://twitter.com/tomcartwrightuk",image_url:"https://github.com/tomcartwrightuk.png"}]},i=void 0,c={permalink:"/blog/socket-io-p2p/",editUrl:"https://github.com/socketio/socket.io-website/edit/main/blog/2015-07-14-p2p.md",source:"@site/blog/2015-07-14-p2p.md",title:"Socket.IO P2P",description:"Today were very happy to introduce Socket.IO P2P, the easiest way to establish a bidirectional events channel between two peers with a server fallback to provide maximum reliability.",date:"2015-07-14T00:00:00.000Z",formattedDate:"July 14, 2015",tags:[],readingTime:3.04,hasTruncateMarker:!0,authors:[{name:"Tom Cartwright",title:"Maintainer of the Socket.IO P2P project",url:"https://twitter.com/tomcartwrightuk",image_url:"https://github.com/tomcartwrightuk.png",imageURL:"https://github.com/tomcartwrightuk.png"}],frontMatter:{title:"Socket.IO P2P",slug:"/socket-io-p2p/",authors:[{name:"Tom Cartwright",title:"Maintainer of the Socket.IO P2P project",url:"https://twitter.com/tomcartwrightuk",image_url:"https://github.com/tomcartwrightuk.png",imageURL:"https://github.com/tomcartwrightuk.png"}]},prevItem:{title:"Socket.IO 1.3.6",permalink:"/blog/socket-io-1-3-6/"},nextItem:{title:"Socket.IO C++",permalink:"/blog/socket-io-cpp/"}},p={authorsImageUrls:[void 0]},l=[],s={toc:l},u="wrapper";function m(t){let{components:e,...r}=t;return(0,n.kt)(u,(0,o.Z)({},s,r,{components:e,mdxType:"MDXLayout"}),(0,n.kt)("p",null,"Today were very happy to introduce Socket.IO P2P, the easiest way to establish ",(0,n.kt)("strong",{parentName:"p"},"a bidirectional events channel between two peers")," with a server fallback to provide maximum reliability."))}m.isMDXComponent=!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.