Re: RMI binding to SAME port but DIFFERENT IP address on SAME host

From: Esmond Pitt (esmond.pitt_at_notatall.bigpond.com)
Date: 07/29/04


Date: Thu, 29 Jul 2004 08:55:30 GMT

Roedy

There is a protocol number field in an IP packet header, and I was
talking about IP at the time. Obviously in the case of TCP the protocol
number is the TCP protocol number, 6. BTW the statement that 'the host
computer simply knows which protocol it is hosting on each port' needs
further work. At the TCP level the host neither knows nor cares about
the protocol; at the IP level you *can* have several protocols on the
same port, e.g. ICMP, UDP, TCP.

EJP

Roedy Green wrote:
> On Thu, 29 Jul 2004 06:43:46 GMT, Esmond Pitt
> <esmond.pitt@notatall.bigpond.com> wrote or quoted :
>
>
>>hat's what it does, it can't do anything
>>else. A socket is identified by its IP address, its port number, and its
>>protocol number.
>
>
> I'm not sure if that is what you meant to imply, but there is no
> "protocol number" field in a TCP/IP header.
>
> see http://mindprod.com/jgloss/tcpip.html
>
> The host computer simply knows which protocol it is hosting on each
> port.
>
> You can't have two different protocols hosted on the same port, e.g.
> HTTP and FTP.
>



Relevant Pages

  • Re: /etc/hosts.equiv & .rhosts
    ... want to login at another host, that host needs the first host's name ... best to allow key-only login so hackers can't ... on the port 22 as it WILL be messed with all day long. ... # Protocol 2 only ...
    (comp.os.linux.security)
  • Re: Whats the difference between UDP and TCP packets?
    ... TCP is a connection oriented protocol. ... The host that wants to send data sends a SYN ...
    (comp.security.firewalls)
  • Re: VPN Error 720
    ... The Zywall is configured for passthrough of port 1723 and GRE ... I got other error messages before that was done. ... avoidance of client/server terminology) makes a TCP (IP protocol 6) call to ... TCP Port 1723 on the other endpoint. ...
    (microsoft.public.windows.server.sbs)
  • Re: RMI binding to SAME port but DIFFERENT IP address on SAME host
    ... >> The host computer simply knows which protocol it is hosting on each ... >> You can't have two different protocols hosted on the same port, ... At the TCP level the host neither knows nor cares about ...
    (comp.lang.java)
  • Re: RMI binding to SAME port but DIFFERENT IP address on SAME host
    ... >> The host computer simply knows which protocol it is hosting on each ... >> You can't have two different protocols hosted on the same port, ... At the TCP level the host neither knows nor cares about ...
    (comp.lang.java.programmer)