View Single Post
Old Apr 8th, 2008, 2:49 PM   #3
hbe02
Hobbyist Programmer
 
hbe02's Avatar
 
Join Date: Mar 2006
Location: Lebanon
Posts: 148
Rep Power: 3 hbe02 is on a distinguished road
Re: promiscious sockets

Quote:
If you want to hear more, you need more sockets
does that mean that when programming a firewall or a router, u have to open 65,000 sockets for all the possible ports? because as i recall u need to specify the port a socket is listening to? is that correct?

Quote:
Are you imitating a firewall or a router?
In terms of networking functionality both. I just want to accept any packet and forward it to its destination. a router forwards on a certain port, a firewall decides whether to forward it or not. im going to be delaying it for a certain period of time, then forward it.
hbe02 is offline   Reply With Quote