Jump to content

Recommended Posts

Posted

Hi,

UDP is connectionless, and you need a remote server to check if the port is opened.

A response received indicates it's opened, timeout indicates not.

Br, FireFox.

Posted

Thanks for your reply.

How does that work if firewalls are blocking the packets, but the port is in fact open?

 

Posted

So a timeout either indicates a firewall-blocked packet or that the port is not open. How do I differate between these?

Posted

I would say you can't without testing.

However, with some hope there could be different error codes (of the UDPOpen/Send functions).

Br, FireFox.

  • Moderators
Posted

You can use the Firewall UDF in my signature to check. You could always specifically open the ports, or use the _ListAuthorizedPorts function to display what is open or not.

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Posted

You can use the Firewall UDF in my signature to check. You could always specifically open the ports, or use the _ListAuthorizedPorts function to display what is open or not.

 

Thanks a lot

Posted

Fast question:

To do this I don't actually have to use UDPSend() right? UDPOpen() should return an error right away if the port is closed, right?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...