<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 16:03:16 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Adobe AIR Socket Wrapper - Juntalis</title>
      <link>https://snipplr.com/view/37129/adobe-air-socket-wrapper</link>
      <description>&lt;p&gt;&lt;u&gt;Example usage:&lt;/u&gt;&#13;
&#13;
&lt;pre&gt;&#13;
var sckLobby = new socket();&#13;
var strBuffer = "";&#13;
sckLobby.init();&#13;
sckLobby.handleReceives(&#13;
	function(event) {&#13;
		strBuffer += sckLobby.recv();&#13;
		sckLobby.send("Hello World!");&#13;
	}&#13;
);&#13;
sckLobby.handleClose(&#13;
	function(event) {&#13;
		if(!strBuffer) return;&#13;
		document.write(strBuffer);&#13;
	}&#13;
);&#13;
sckLobby.connect('127.0.0.1', 8000);&#13;
&lt;/pre&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 12 Jul 2010 12:08:05 UTC</pubDate>
      <guid>https://snipplr.com/view/37129/adobe-air-socket-wrapper</guid>
    </item>
  </channel>
</rss>
