• 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
名称
最后提交
最后更新
..
Makefile 正在载入提交数据...
mod_spidermonkey_socket.c 正在载入提交数据...
mod_spidermonkey_socket.vcproj 正在载入提交数据...