On Fri, 11 Nov 2005 10:35:11 -0700, "Lonnie Olson" <[EMAIL PROTECTED]>
said:
> On Nov 10, 2005, at 9:43 PM, hari kumar wrote:
> >           I have few doubts on Linux TCP socket.My doubt goes like
> > this..I have formed TCP Socket between two host. Now I want to know
> > the TCP flag and state details at socket level.I wanted to do some
> > encapsulation based upon the flag set. It would be great if anyone can
> > help me on this.
> 
> I am assuming you are programming TCP sockets.
> 
> Uh, the socket level is a layer above the the TCP level.
> http://en.wikipedia.org/wiki/OSI_model
> 
> TCP is at layer 4 (Transport Layer).  Sockets are at layer 5 (Session  
> Layer).

The OSI model has nothing to do with the real world.  You can manipulate
options at the tcp level with get/setsockopt.

-Jonathan
-- 
C++ is history repeated as tragedy. Java is history repeated as farce.  --Scott 
McKay


/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to