Hi,

I'm implementing some code that needs to use a UDP broadcast, followed by receiving a broadcast reply and subsequently establishing a TCP connection.

I've sorted out doing the broadcast part (although is there a better way to construct a network address than to use resolveHost followed by a.port = X?), but the reply part is problematic. I can "recv" the response bytes, but there doesn't seem to be a way to get the remote address of the sender. In TCPConnection this is available, but with this sort of UDP setup there is no connection, just the individual packet parameters.

Is there a way to do this that I'm missing? Thanks in advance!