lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


flood.lua continually prints:

udp{unconnected}: 0x807fed4
4
udp{unconnected}: 0x807fed4
4
udp{unconnected}: 0x807fed4
4
udp{unconnected}: 0x807fed4
4
udp{unconnected}: 0x807fed4
4
udp{unconnected}: 0x807fed4
4
udp{unconnected}: 0x807fed4
4
udp{unconnected}: 0x807fed4
4
udp{unconnected}: 0x807fed4
4
udp{unconnected}: 0x807fed4
4
udp{unconnected}: 0x807fed4
4
udp{unconnected}: 0x807fed4
4
udp{unconnected}: 0x807fed4
4


whilst server.lua gives:

Binding to host '127.0.0.1' and port 8081...
Waiting for packets on 127.0.0.1:8081...
Binding to host '127.0.0.1' and port 8082...
Waiting for packets on 127.0.0.1:8082...
Binding to host '127.0.0.1' and port 8083...
Waiting for packets on 127.0.0.1:8083...
Binding to host '127.0.0.1' and port 8084...
Waiting for packets on 127.0.0.1:8084...
Binding to host '127.0.0.1' and port 8085...
Waiting for packets on 127.0.0.1:8085...
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes
Packet received on 127.0.0.1/2193 4 bytes



Doesn't look right..






Diego Nehab wrote:
Hi,

This works fine on Mac OS X 10.4.6 and on Linux 2.6.15. Can you try this code on your machine?

    http://www.cs.princeton.edu/~diego/udp

Regards,
Diego.


--
Jim Mellander
Incident Response Manager
Computer Protection Program
Lawrence Berkeley National Laboratory
(510) 486-7204

Your fortune for today is:

This login session: $13.99