wildbunny
unread,Apr 25, 2012, 2:22:31 PM4/25/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Manos de Mono
Hi guys,
I've finally gotten manos to compile and run under windows, which is
great.
I'm looking for functionality similar to node.js's net library. I'd
like to set up a socket server, like you can in node.js:
var server = net.createServer( function(socket)
{
socket.on('data', function(data)
{
}
socket.on('close', function(data)
{
}
});
The closest thing I could find in manos was TcpSocket which I can call
Listen() on, and give a connection callback to. But what about 'data'
and 'close as they appear in node.js's net library? How do I handle
these events?
Cheers, Paul.