rejetto forum

Software => HFS ~ HTTP File Server => Topic started by: rejetto on July 02, 2007, 02:55:00 PM

Title: [look4code] port-to-process
Post by: rejetto on July 02, 2007, 02:55:00 PM
i think it would be very useful for many people, when the port is busy, if HFS could tell who is occupying it.
so, i need a function (not a software) to tell, from a port, what process (PID) is using it.
i already made some searching but found nothing till now.
any help is welcome.
Title: Re: [look4code] port-to-process
Post by: traxxus on July 02, 2007, 05:01:44 PM
It exist already, its included in the xampp-packet.

Download it here:

http://traxxus.dyndns.org:100/Guests/xampp-portcheck.exe

The extracted files in one zip file:

http://traxxus.dyndns.org:100/Guests/xampp-portcheck.zip

I hope you can benefit from the file...
Title: Re: [look4code] port-to-process
Post by: dA CLOwN on July 02, 2007, 06:10:23 PM
xampp-portcheck.exe is a sfx rar archive. You'll get more info from it if you extract it's contents with WinRAR or something...
Title: Re: [look4code] port-to-process
Post by: rejetto on July 02, 2007, 07:56:33 PM
sorry but no, i don't need a software doing it.
i cannot include the file openports.exe inside HFS.
Title: Re: [look4code] port-to-process
Post by: KalleB on July 03, 2007, 11:08:11 AM
The file is not available right now, but last time I checked, I think there was source code included. It wasn't Delphi but VB so I don't know if you can "translate" it...
Title: Re: [look4code] port-to-process
Post by: rejetto on July 03, 2007, 01:18:27 PM
it was not the source code of openports.exe
it was another thing
Title: Re: [look4code] port-to-process
Post by: Foggy on July 03, 2007, 01:25:00 PM
may i suggest having a look on sourceforge if you dont wont software you should be able to get the source
Title: Re: [look4code] port-to-process
Post by: rejetto on July 03, 2007, 02:45:20 PM
suggestion accepted

sadly my search (port and process) gave no good result
Title: Re: [look4code] port-to-process
Post by: Foggy on July 03, 2007, 03:02:43 PM
Id just try something simple like "open ports" or something similar its not real specific but you might have better luck
Title: Re: [look4code] port-to-process
Post by: rejetto on July 03, 2007, 03:04:16 PM
already did
Title: Re: [look4code] port-to-process
Post by: Kalle on July 03, 2007, 04:21:33 PM
How about this: http://www.google.com/codesearch?hl=en&q=+PID+port
Title: Re: [look4code] port-to-process
Post by: rejetto on July 03, 2007, 04:31:14 PM
nice try, i will look into it later
Title: Re: [look4code] port-to-process
Post by: Foggy on July 04, 2007, 05:19:25 AM
maybe you could look into the windows command "netstat -o" it shows what i believe you are looking for with the address/pid etc, but im not sure if it would be of any help.
Title: Re: [look4code] port-to-process
Post by: Michel on July 04, 2007, 06:34:42 AM
Maybe here:
http://www.wilsonc.demon.co.uk/delphi_6.htm -> IP Port Analyzer
The program is with source code...
Title: Re: [look4code] port-to-process
Post by: KalleB on July 04, 2007, 07:53:19 AM
I'd say that "netstat -o" is it.. :)
Title: Re: [look4code] port-to-process
Post by: rejetto on July 04, 2007, 06:44:57 PM
Maybe here:
http://www.wilsonc.demon.co.uk/delphi_6.htm -> IP Port Analyzer
The program is with source code...

thank you so much, it seems just what i was looking for

I'd say that "netstat -o" is it.. :)

this is also a neat solution, i already implemented it now, but will think if i should prefer it to the one above