[TriLUG] Does JVM use the TCP/IP stack when talking through 1 27.0.0.1 to a nother JVM?

Smith, Brett bsmith at bloodhoundinc.com
Wed Jun 9 14:25:51 EDT 2004



> -----Original Message-----
> From: Ryan Leathers [mailto:ryan.leathers at globalknowledge.com]
> Sent: Wednesday, June 09, 2004 2:27 PM
> To: Triangle Linux Users Group discussion list
> Subject: Re: [TriLUG] Does JVM use the TCP/IP stack when 
> talking through
> 127.0.0.1 to a nother JVM?
> 
> 
> The JVM talks to the socket
> The socket can only exist if a TCP/IP stack exists at both the source
> and destination.  
> 
> Socket = 14 bytes:
> 
> IP source addr = 4 bytes (192.168.1.1)
> source protocol= 1 byte  (TCP, UDP)
> source port    = 2 bytes (1-65535)
> IP dest. addr  = 4 bytes (127.0.0.1)
> dest. protocol = 1 byte  (TCP/UDP)
> dest. port     = 2 bytes (1-65535)
> Total          =14 bytes
> 
> Does this help?
> 
_thanks_ !!!!!!!

Yes I think that is my answer... 

> 
> 
> On Wed, 2004-06-09 at 13:47, Phillip Rhodes wrote:
> > Christopher L Merrill wrote:
> > 
> > > Smith, Brett wrote:
> > > 
> > >> Does JVM use the TCP/IP stack when talking through 127.0.0.1 to 
> > >> another JVM?
> > >> This is over my head but a developer needs the answer so 
> don't flame 
> > >> if I am
> > >> way off.
> > > 
> > 
> > I'd say that in general the answer is "yes", with the caveat
> > that it might depend on the underlying operating system.  That is,
> > 127.0.0.1 is an IP address, just like any other, and traffic sent
> > through that interface is IP traffic, blah, blah..
> > 
> > But, it is a "special" address in a sense, and I suppose the
> > OS might be allowed by the specs to treat that traffic differently
> > than "normal" IP traffic...
> > 
> > Still, I'd be highly inclined to think that for all practical
> > purposes you can assume that it does.
> > 
> > TTYL,
> > 
> > Phil
> > 
> > -- 
> > When the 1st Amendment no longer protects your voice.
> > And when the 4th Amendment no longer protects your privacy 
> or your stuff.
> > Thank God we have the 2nd Amendment to tell our elected 
> representatives 
> > that enough is enough.
> > It's time to put "... from my cold, dead hands" back where 
> it belongs.
> > 
> > FREE AMERICA
> > Vote Libertarian
> > www.lp.org
> -- 
> Ryan Leathers <ryan.leathers at globalknowledge.com>
> Global Knowledge
> 
> -- 
> TriLUG mailing list        : 
http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

This email message is for the sole use of the intended recipients(s) and may contain confidential and privileged information of Bloodhound Software, Inc.. Any unauthorized review, use, disclosure is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message.



More information about the TriLUG mailing list