1825523 Members
1944 Online
109681 Solutions
New Discussion юеВ

UDP Connections

 
SOLVED
Go to solution
Jagadesh
Frequent Advisor

UDP Connections

Dear All,

Please find some of my application entries in /etc/services
COMETOPA 40008/tcp
COMETOPT 40009/tcp
COMETOPC 40020/tcp
COMETOPC 40020/udp

How can i check whether my application uses UDP or not. any command to check the same.

Thanks
Jagadesh






4 REPLIES 4
Alexander Chuzhoy
Honored Contributor

Re: UDP Connections

use netstat.
The first column on left is the proto column.
Vernon Brown_4
Trusted Contributor
Solution

Re: UDP Connections

netstat | grep udp

to weed out all the extras that will cover the screen :o)
Jagadesh
Frequent Advisor

Re: UDP Connections

Thanks for the reply.

In my /etc/services i had mentioned COMETOPC 40020/udp to use UDP but when i use netstat that corresponding application is still using TCP.

Please find the output below..

tcp 0 0 hplinux:32781 host1:COMETOPT ESTABLISHED

How can i configure the to make my application use UDP port.
Alexander Chuzhoy
Honored Contributor

Re: UDP Connections

what is this appalication?
if you've downloaded it's source. then see if there's a possibility to configure it to listen on UDP.Is there a man for it?