What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Block IP In VB

1 votes - 5 average   Block IP In VB
Author: Message:
Mike
Elite Member
*****

Avatar
Meet the Spam Family!

Posts: 2795
Reputation: 48
32 / Male / Flag
Joined: Mar 2003
RE: Block IP In VB
Well yes:
Put this in your ConnectionRequest  event:
code:
If Winsock.RemoteIP <> Winsock.LocalIP Then 'This will allow you only you to connect
Winsock.Close 'Close the connection
Winsock.Listen 'Start waiting for connections again.
Else 'Else
Winsock.Close
Winsock.Accept RequestID


Hope it helps :)

This post was edited on 09-02-2004 at 06:09 AM by Mike.
YouTube closed-captions ripper (also allows you to download videos!)
09-02-2004 06:08 AM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Block IP In VB - by DJeX on 09-02-2004 at 03:49 AM
RE: Block IP In VB - by Mike on 09-02-2004 at 06:08 AM
RE: Block IP In VB - by DJeX on 09-02-2004 at 07:42 AM
RE: Block IP In VB - by Mike on 09-02-2004 at 11:20 AM
RE: Block IP In VB - by DJeX on 09-02-2004 at 06:07 PM
RE: Block IP In VB - by Millenium_edition on 09-02-2004 at 06:11 PM
RE: Block IP In VB - by DJeX on 09-02-2004 at 06:50 PM
RE: Block IP In VB - by Millenium_edition on 09-03-2004 at 02:50 PM
RE: Block IP In VB - by DJeX on 09-03-2004 at 06:14 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On