[Neko] Streams
Lee McColl-Sylvester
lee.mccoll at lyons-group.co.uk
Tue Mar 14 18:34:27 CET 2006
Just in case you need it, heres the function I'm using
static function main()
{
var sock = new neko.Socket(true);
sock.bind(neko.Socket.resolveHost("localhost"), 2000);
sock.listen(5);
while true
{
var s : neko.Socket = sock.accept();
}
}
And I've attached the socket class.
Please don't laugh... I've not used sockets much before. It's not a
complete function, but I'm piecing it together with examples from
different languages on the web. So far, I think it's right :-$
Lee
-----Original Message-----
From: neko-bounces at lists.motion-twin.com
[mailto:neko-bounces at lists.motion-twin.com] On Behalf Of Lee
McColl-Sylvester
Sent: 14 March 2006 17:29
To: Neko intermediate language mailing list
Subject: RE: [Neko] Streams
Hi Nicolas,
I've started testing the Socket class... So far, so good... I do have
one problem though... When I run my test, I get
Primitive not found : std at socket_rec(4)
Is the documentation for this method wrong?
Regards,
Lee
-----Original Message-----
From: neko-bounces at lists.motion-twin.com
[mailto:neko-bounces at lists.motion-twin.com] On Behalf Of Nicolas
Cannasse
Sent: 14 March 2006 14:54
To: Neko intermediate language mailing list
Subject: Re: [Neko] Streams
> You'll never have to
> worry about learning Flash development :)
And you can't imagine how much you're lucky about that point, John !
Thread closed, please keep further discussions off-list ;)
Nicolas
--
Neko : One VM to run them all
(http://nekovm.org)
--
Neko : One VM to run them all
(http://nekovm.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Socket.zip
Type: application/x-zip-compressed
Size: 1010 bytes
Desc: Socket.zip
Url : http://lists.motion-twin.com/pipermail/neko/attachments/20060314/ad97e72b/Socket-0002.bin
More information about the Neko
mailing list