- Home
·
- Internet/HTML
·
- Determine if you are online or not using winsock and only 2 simple lines of code.
Determine if you are online or not using winsock and only 2 simple lines of code.
Determine if you are online or not using winsock and only 2 simple lines of code.
API Declarations
'You need a winsock control
'Microsoft Winsock Control
'You also need one label
Rate Determine if you are online or not using winsock and only 2 simple lines of code.
(1(1 Vote))
Label1.caption = "You're offline"
If winsock1.localip = "120.0.0.7 then label1.caption = "You're online!"
Determine if you are online or not using winsock and only 2 simple lines of code. Comments
No comments yet — be the first to post one!
Post a Comment