CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Win32 Programming Help:
Ports & Packets

 



Pro_4
User

May 26, 2002, 10:12 AM

Post #1 of 3 (2821 views)
Ports & Packets Can't Post

Hey!



OK.. let me try to explain this.. OK say you have two programs binded to the same port, one receives a packet, is that packet still available for the other program..? kinda asking whether or not that it would steal the packet or if packets are globally available to any program that happens to be looking at that port number. Thanks :)


Jean
User


Jun 24, 2002, 6:50 AM

Post #2 of 3 (2813 views)
Re: [Pro_4] Ports & Packets [In reply to] Can't Post

I'm not much of a pro in the matter, but (as usual) because no one has answered yet:

1. Are you sure you can have more than one program capture the same port?

2. If the answer to 1 is yes (and I'd be surprised if it were so), then I'm sure the packet will be stolen unless you use some explicit PeekSomething() function.

IMO a program that attempts to use already captured port will either fail or get the exclusive control of the port, thus disabling the program that was using the port earlier...


Jean Spector
SQA Engineer @ Exanet
jean.spector@softhome.net


There are only 10 types of people in the world -
Those who understand binary, and those who don't.


Pro_4
User

Jul 15, 2002, 3:27 PM

Post #3 of 3 (2796 views)
Re: [Jean] Ports & Packets [In reply to] Can't Post

Sry for the long wait between replys.

There has to be a way to do both #1 & 2. Have you ever used a packet/port scanner. Basically what it does is scans all of your ports and records all incoming/outgoing packets from your computer. It also does this without interrupting the flow of the programs that are using their respective ports. So.. do they know of some secret stash of packets or is there a simple solution to this problem.



Anyways thanks for the help/opinions.

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives