|
-
Oct 24th, 2005, 04:00 PM
#1
Thread Starter
New Member
[RESOLVED] Winsock, UDP-package source
How can I get the IP and/or MAC address from the sender of an UDP package?
I'm using the Winsock component.
-
Oct 24th, 2005, 08:15 PM
#2
Hyperactive Member
Re: Winsock, UDP-package source
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.
Code:
If LostAngel.Tag = "Programming" then
LostAngel.Caption = "Awake"
Else
LostAngel.Caption = "Dreaming of Code"
End If
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|