I've been working on a high-level UDP networking library/module, and it currently supports QuickSock and ANet. Since we now have 'BRL.Socket', I thought I'd add an option to support it. Everything seems to be in order, but I'm still not sure how I'm supposed to get the 'SocketAddress' (IP address and port) of whoever sends me a packet.
I can only assume the 'RemoteAddress' property is what I want, but I'm not 100% sure about this. Is this functionality even supported currently? Do I have to use a workaround? Did I get it right with the 'RemoteAddress' property?
I'll probably just look into the native code if I don't get a straight answer.
EDIT: After looking into it; is Accept what I'm looking for? Or is that TCP only?
|