mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-05 18:44:54 +00:00
Michael Jerris
815f34fbfb
MODLANG-21: Add socket module for spidermonkey from Jonas Gauffin
methods: connect, close, send, readBytes, read. Note! It's completely untested. usage: var socket = new Socket(); socket.connect("hostname", 1234"); var line = socket.read(); socket.send("this is something\n"); The read method takes a delimiter and do not return until the delimiter have been received (or the connection have been dropped). The default delimiter is "\n". The readBytes method reads the number of specified bytes. only a TCP socket implementation. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5701 d0543943-73ff-0310-b7d9-9358b9ac24b2
Description
FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a versatile software implementation that runs on any commodity hardware. From a Raspberry PI to a multi-core server, FreeSWITCH can unl
Multiple Licenses
268 MiB
Languages
C
64.4%
C++
21.8%
JavaScript
4.7%
Assembly
2%
Makefile
1%
Other
5.4%