• Michael Jerris's avatar
    MODLANG-21: Add socket module for spidermonkey from Jonas Gauffin · 815f34fb
    Michael Jerris 提交于
    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
    815f34fb
名称
最后提交
最后更新
..
applications 正在载入提交数据...
asr_tts 正在载入提交数据...
codecs 正在载入提交数据...
dialplans 正在载入提交数据...
directories/mod_ldap 正在载入提交数据...
endpoints 正在载入提交数据...
event_handlers 正在载入提交数据...
formats 正在载入提交数据...
languages 正在载入提交数据...
loggers 正在载入提交数据...
say/mod_say_en 正在载入提交数据...
timers/mod_softtimer 正在载入提交数据...
xml_int 正在载入提交数据...
Makefile.am 正在载入提交数据...