PC Review


Reply
Thread Tools Rate Thread

How to check the status of the UDP port status

 
 
tsgd84
Guest
Posts: n/a
 
      2nd Jul 2008
I am writing a small application to check the status the given TCP and
UDP ports in a machine.

I have created a socket and connected to the machine using connect()
while specifying SOCK_STREAM [for TCP] in socket() the connect()
method fails as expected if the particular TCP port remain closed or
not permitted from TCP/IP filtering in Windows 2000 Professional.

But when SOCK_DGRAM [for UDP] in socket(), the connect() method
doesnot fail as expected if the particular UDP port remain closed or
not permitted from TCP/IP filtering in Windows 2000 Professional.

How do I check whether the particular UDP port is closed/opened/
restricted/permitted.

Thanks
Deenad
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Check msn status on port 1863 well84 Windows XP Messenger 4 4th Mar 2011 09:34 PM
Check port status mrajanikrishna@gmail.com Microsoft Windows 2000 Networking 1 4th Sep 2006 02:04 PM
Check port status mrajanikrishna@gmail.com Microsoft Windows 2000 Networking 0 4th Sep 2006 08:24 AM
port status =?Utf-8?B?QWxpIFZhZXpp?= Windows XP Networking 1 28th Aug 2005 08:50 AM
Control of Priinter Port and Status Port sympatico Microsoft VB .NET 3 4th Jan 2005 05:06 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:44 AM.