S
sebastian wiswedel
hello,
i´ve got a problem with UDPSocket under MacOsX 10.2
the following code is not working:
server = UDPSocket.open()
server.bind(nil, $portUDP)
$portUDP is f.e. 12345.
it not even gives me an ErrorMessage.
the "client" code:
sock = UDPSocket.open(Socket::AF_INET)
sock.connect($hostname, $portUDP)
sock.send("connection-based", 0)
is working fine, when starting the "server"-code on a linux machine.
any Ideas or known problems?
cheers,
sebastian
i´ve got a problem with UDPSocket under MacOsX 10.2
the following code is not working:
server = UDPSocket.open()
server.bind(nil, $portUDP)
$portUDP is f.e. 12345.
it not even gives me an ErrorMessage.
the "client" code:
sock = UDPSocket.open(Socket::AF_INET)
sock.connect($hostname, $portUDP)
sock.send("connection-based", 0)
is working fine, when starting the "server"-code on a linux machine.
any Ideas or known problems?
cheers,
sebastian