How can I get the IP and/or MAC address from the sender of an UDP package?
I'm using the Winsock component.
Printable View
How can I get the IP and/or MAC address from the sender of an UDP package?
I'm using the Winsock component.
wouldnt winsock1.remotehostip work? At my work, we have a wired router and wireless one (different IP's). I have made a program that logs all internet traffic...in order to tell the difference I have it add "wireless" to the record in the database if winsock1.remotehostip = '192.168.50.27'...if it's '192.168.50.1' then its the wired one.