|
-
Oct 1st, 2001, 10:04 PM
#1
Thread Starter
Hyperactive Member
open ports
What's the API code to find all ports that are currently open?
-
Oct 1st, 2001, 10:30 PM
#2
Lively Member
i need this code as well...
-
Oct 2nd, 2001, 07:47 AM
#3
EnumPorts shows you all available ports on the machine, if this will help you. It showed me the following available ports on my machine: COM1,COM2,COM3,COM4,file and LPT1.
-
Oct 2nd, 2001, 09:11 AM
#4
Thread Starter
Hyperactive Member
That's not quite what I'm looking for. I don't mean ports in that respect... I want ports such as 25 (smnp), 23 (telnet), 21 (ftp), and others like that. There are 65535 total ports on a comp =] Thanks for any help in advance. Later,
-zer0 flaw
-
Oct 2nd, 2001, 01:53 PM
#5
Fanatic Member
hmmmmm... this post doesn't give me a funny feeling of suspicion at alllllllllll...........
-
Oct 2nd, 2001, 02:41 PM
#6
Thread Starter
Hyperactive Member
Bleh, if you don't trust me then don't post. heh
-
Oct 2nd, 2001, 08:50 PM
#7
I do not think you can see information about port with VB....
-
Oct 2nd, 2001, 10:43 PM
#8
Thread Starter
Hyperactive Member
nm, I figured it out on my own. heh, you can figure out a TON of info about ports =]
-
Oct 3rd, 2001, 02:14 AM
#9
Lively Member
mind sharing with me how u did this? thx
-
Oct 10th, 2001, 10:32 AM
#10
Junior Member
-
Nov 18th, 2001, 05:02 AM
#11
Addicted Member
Re: need similar info
sock.LocalPort = 2346
sock.Listen
2346 is the port you want to be opened up
make sure you have winsock control in your project
-
Nov 18th, 2001, 10:21 PM
#12
Junior Member
Re: need similar info
hi coolone
thanx for the info, that was something i needed ...
thanx once again
_____________________________________________
VB leaves me weeping
all the time ....everytime..
-
Nov 19th, 2001, 03:51 PM
#13
Addicted Member
k np just make sure on program close you close the ports wanna make it as safe for the user =)
-
Nov 19th, 2001, 04:21 PM
#14
Junior Member
re: need similar info
yeah sure..
i will remember that..will give it a try
thanx again
____________________________________
VB LEAVES A SOUL WEEPING
-
Nov 19th, 2001, 04:23 PM
#15
Junior Member
open ports
Originally posted by zer0_flaw
nm, I figured it out on my own. heh, you can figure out a TON of info about ports =]
do you mind sharing what have you figured out that we can do thro vb to use ports in our application...
thanx in advance
dev
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
|