lua-users home
lua-l archive

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


A bug was reported some time ago which if still present might explain
strangeness. Very easy to fix.

Correction should be in the next release.

I posted in group about this dated 03/10/2008 17:19

Err... checks copy of original email for date order, October.

Thanks. I found that thread that the other day, but that is not my problem.

My issue is more subtle - I am trying to get 2 applications to join the same
multicast group:port.
In any one app, I can bind multiple sockets to eg. INET_ADDR_ANY : 1700,
using SO_REUSE_ADDR, join them to the multicast group, and they all receive
group data. Exactly as documented.

What I can't do is then join that group:port from a second app; despite the
SO_REUSEADDR, the first bind(INET_ADDR_ANY , 1700) fails : not with an "in
use" error message, but a "permission denied".

This issue is not with LuaSocket - I am working with the latest beta (from
Diego) to check for consistent behavior across operating systems. I can
reproduce the problem in straight c.

In short : has anyone tried to run 2 applications which join the same
multicast group and port on windows or other OS ?

Adrian