<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Duplicated Socket Events]]></title><description><![CDATA[<p dir="auto"><strong>iPad Model</strong>: iPad 5th generation<br />
<strong>iOS version</strong>: 13.3<br />
<strong>hyperPad version</strong>: 1.25<br />
<strong>Description</strong>: Disabling and then enabling the <code>Socket Event</code> behavior causes incoming messages to be duplicated.<br />
<strong>Steps to reproduce</strong>: Connect to a <a href="http://socket.io" target="_blank" rel="noopener noreferrer nofollow ugc">socket.io</a> server, wait until <code>connected</code> status. At this point, receiving an event causes the <code>Socket Event</code> behavior the fire once. Disable and then enable the behavior using <code>Behavior On</code> and <code>Behavior Off</code>. Now the <code>Socket Event</code> would fire twice instead of once when receiving an event.<br />
<strong>Additional info</strong>: Every time the behavior was disabled and re-enabled, it created more duplicate messages / fired more when an event was received. Pretty sure this is a hyperPad bug, tested it with multiple clients <em>(multiple devices on the same URL)</em> and clients with the behaviors disabled and re-enabled faced this bug. I noticed when creating a chatting app when messages would duplicate for some reason.</p>
]]></description><link>https://forum.hyperpad.com/topic/1340/duplicated-socket-events</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 20:49:48 GMT</lastBuildDate><atom:link href="https://forum.hyperpad.com/topic/1340.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Mar 2020 18:03:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Duplicated Socket Events on Sat, 28 Mar 2020 18:04:44 GMT]]></title><description><![CDATA[<p dir="auto">In the image above, the <code>score</code> would increase by <strong>2</strong> each time instead of <strong>1</strong>.</p>
]]></description><link>https://forum.hyperpad.com/post/8905</link><guid isPermaLink="true">https://forum.hyperpad.com/post/8905</guid><dc:creator><![CDATA[RobinsonX]]></dc:creator><pubDate>Sat, 28 Mar 2020 18:04:44 GMT</pubDate></item><item><title><![CDATA[Reply to Duplicated Socket Events on Sat, 28 Mar 2020 18:03:39 GMT]]></title><description><![CDATA[<p dir="auto"><img src="https://assets.forum.hyperpad.com/assets/b297f8e2-c90e-4870-bd5e-b85024a914c2.png" alt="EC149EAA-827B-4273-8029-D709B429D890.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.hyperpad.com/post/8904</link><guid isPermaLink="true">https://forum.hyperpad.com/post/8904</guid><dc:creator><![CDATA[RobinsonX]]></dc:creator><pubDate>Sat, 28 Mar 2020 18:03:39 GMT</pubDate></item></channel></rss>