On Tue, 19 Apr 2005 at 08:26, Neil Horman wrote:
> Not sure what your asking here.  Asking "Does these 
> two sockets belong to local socket?" is a pretty 
> meaningless question, as the terminology is 
> nonsensical. All sockets have a protocol associated 
> with them (except raw sockets, but thats another 
> topic).  When you create a socket you associate it 
> with a protocol family (AF_INET, AF_INET6, 
> AF_NETLINK, AF_APPLETALK, etc), 
> a connection type (SOCK_STREAM for connection 
> oriented  protocols, SOCK_DGRAM for connection-less 
> protocols), and a protocol (IPPROTO_TCP, 
> IPPROTO_UDP, etc).  Depending on the family, type 
> and protocol you select, you can talk to different 
> systems/services.
>
> Does that answer your question?

Thanks a lot.

Can I think that every packet (e.g. IP packet) must
have a corresponding creating socket? (i.e. Must every
packet be created by a socket?) 
Is there any other way to originate a packet?

Thank you.

Best Regards,
Park Lee


                
__________________________________ 
Do you Yahoo!? 
Make Yahoo! your home page 
http://www.yahoo.com/r/hs
-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to