<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:courier,monaco,monospace,sans-serif;font-size:12pt">Thanks for the contribution.<br>We can add it to trunk and maybe if you are lucky someone else<br>will add to it / finish it.&nbsp; Or at least it will be maintained until<br>you can work on it more.&nbsp; We can assign commit access for you to the folder once we add it to trunk.<br><br><div>&nbsp;</div><div>Anthony Minessale II<br><br><span>FreeSWITCH <a target="_blank" href="http://www.freeswitch.org/">http://www.freeswitch.org/</a></span><br><span>ClueCon <a target="_blank" href="http://www.cluecon.com/">http://www.cluecon.com/</a></span><br><br>AIM: anthm<br>MSN:anthony_minessale@hotmail.com<br>GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<br>IRC: irc.freenode.net #freeswitch</div><div><br>FreeSWITCH Developer
 Conference<br>sip:888@conference.freeswitch.org<br>iax:guest@conference.freeswitch.org/888<br>googletalk:conf+888@conference.freeswitch.org<br>pstn:213-799-1400</div><div style="font-family: courier,monaco,monospace,sans-serif; font-size: 12pt;"><br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Jonas Gauffin &lt;jonas.gauffin@gmail.com&gt;<br>To: freeswitch-users@lists.freeswitch.org<br>Sent: Wednesday, August 22, 2007 2:25:28 AM<br>Subject: [Freeswitch-users] mod_spidermonkey_socket<br><br><div>Hello<br><br>I have a spidermonkey socket module that aren't finished, it uses the<br>switch_socket_XXX methods. I can't work anymore on it for at least a<br>month, and there are som users waiting for a socket module. Therefore<br>it would be nice to add it to the trunk so that others can complete it<br>(or at least test it).<br><br>It currently got the following methods: connect, close,
 send, readBytes, read.<br><br>The question is: Should I create a patch for it and document it in the<br>wiki? Or should I wait until I can complete it.<br><br>Note! It's completely untested.<br><br>usage:<br>var socket = new Socket();<br>socket.connect("hostname", 1234");<br>var line = socket.read();<br>socket.send("this is something\n");<br><br>The read method takes a delimiter and do not return until the<br>delimiter have been received (or the connection have been dropped).<br>The default delimiter is "\n".<br>The readBytes method reads the number of specified bytes.<br><br>I've only made a TCP socket implementation. For simplicity, maybe<br>there should be two socket classes. One for UDP and one for Tcp.<br><br>//Jonas<br><br>_______________________________________________<br>Freeswitch-users mailing list<br>Freeswitch-users@lists.freeswitch.org<br><a target="_blank"
 href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>UNSUBSCRIBE:<a target="_blank" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br><a target="_blank" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br></div></div><br></div></div><br>
      <hr size=1>Boardwalk for $500? In 2007? Ha! <br><a href="http://us.rd.yahoo.com/evt=48223/*http://get.games.yahoo.com/proddesc?gamekey=monopolyherenow">Play Monopoly Here and Now</a> (it's updated for today's economy) at Yahoo! Games.</body></html>