shovon / node-rudp

Reliable UDP for Node.js
33 stars 14 forks source link

getting the remote info on message #15

Closed amiiigh closed 5 years ago

amiiigh commented 5 years ago

Hi,

I'm trying to use the Server and my problem is as part of the dgram.socket I can use 'message' listener to get 'data' and 'remote' which contains source address and port of the sender.

How can I get this information using this library?

amiiigh commented 5 years ago

I think I found the solution :D I should get the addressKey inside the Server or write my own server class