Re: raw socket question
- From: "slebetman@xxxxxxxxx" <slebetman@xxxxxxxxx>
- Date: Wed, 29 Aug 2007 01:43:03 -0700
On Aug 29, 11:45 am, sinbad <sinbad.sin...@xxxxxxxxx> wrote:
Hi,
For delivering packets to a raw socket ,port id is not checked , why
is it so ... Instead of delivering the packet to all the protocols ,we
could have delivered to only an application owning the port ... anyone
shed some light on this .
Port only makes sense for IP. Other protocols may or may not have a
concept of "port" and even if they do the "port" definition for a
protocol like AppleTalk or DECnet may not be compatible with the
concept of "port" in IP. Since the reason for using raw sockets in the
first place is to interface with protocols other than TCP/IP or UDP/IP
it doesn't make sense to check port id.
.
- References:
- raw socket question
- From: sinbad
- raw socket question
- Prev by Date: How can ethernet card get multiple IP from DHCP server ?
- Next by Date: DHCP Server open-source carrier grade.
- Previous by thread: raw socket question
- Next by thread: How can ethernet card get multiple IP from DHCP server ?
- Index(es):
Relevant Pages
|