Closed withakay closed 13 years ago
thanks for pointing this out. I've now changed the em_server to open a socket on 0.0.0.0. this means it will listen on any network interface you have. i've tested it with TouchOSC on my ipad and it works fine now.
i've pushed the 0.7.0 gem out to rubygems, so an update should pull down the new code.
let me know if you still have issues.
closing..
def run EM::run { EM::open_datagram_socket "localhost", @port, Connection } end
the above code caused me problems when trying to get TouchOSC on an iPad to comunicate with my Mac (Snow Leopard 10.6.3, ruby 1.8.7). A local client/server would work but nothing from the iPad was being received. iPad to other osc compatible apps does work.
changing the EMServer class to accept an address parameter (below) and then passing in my local ip (i.e. 192.168.1.100) got it all working but is not really ideal when using DHCP.
class EMServer
Thanks