Doubts on TCP sockets in linux
jonathan at carnageblender.com
Fri Nov 11 10:50:22 MST 2005
On Fri, 11 Nov 2005 10:35:11 -0700, "Lonnie Olson" <fungus at aros.net>
> 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.
> TCP is at layer 4 (Transport Layer). Sockets are at layer 5 (Session
The OSI model has nothing to do with the real world. You can manipulate
options at the tcp level with get/setsockopt.
C++ is history repeated as tragedy. Java is history repeated as farce. --Scott McKay
More information about the PLUG