mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-02-24 10:31:13 +00:00
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
5 lines
63 B
Makefile
5 lines
63 B
Makefile
switch_srcdir=../../../..
|
|
|
|
include ../mod_spidermonkey/sm.mak
|
|
|