On Wed, 14 Apr 1999, New Bie wrote:
> > No. imap, pop2,3 at least are only tcp. I believe
> > bootpc is only udp,
> > but I'm not sure about that.
> >
>
> What i mean by this is that entry for all these exists in /etc/services
> showing that they support both protocols.
>
/etc/services is not a particularly reliable source of information on such
things, unfortunately.
> > > Excuse me if i sound naive but i think an
> > application can not talk
> > > connection oriented and connection less protocols
> > from the same port at
> > > the same time?? Isnt it true?
> > >
> > Yes, that is true.
> >
>
> Ok now that this is true, how can services like "echo" support both
> protocols at the same time from same port (accordingto you, the entry
> for echo is not "broken" in /etc/services).
>
echo can support both protocols, but it cannot be listening for both
symultaneously. It would, perhaps, be better to say that echo can support
either tcp or udp
> Is there any other way of reliably knowing which service uses which
> protocol?
>
Not that I am aware of, other than finding the appropriate server and
reading the source.
--
Mike <[EMAIL PROTECTED]>
Good news from afar can bring you a welcome visitor.