Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. UDP Socket

UDP Socket

Scheduled Pinned Locked Moved Article Writing
questioncomsysadmintutorial
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    orcun colak
    wrote on last edited by
    #1

    How can I check if a UDP port is connectable or not. I know there is no "connection" actually going on but is there a way to understan if a port is listened by a server process on winsock ? As far as I know it is possible on Unix. If you know how to do this can you post a code sample. Orcun Colak orcuncolak@yahoo.com

    T 1 Reply Last reply
    0
    • O orcun colak

      How can I check if a UDP port is connectable or not. I know there is no "connection" actually going on but is there a way to understan if a port is listened by a server process on winsock ? As far as I know it is possible on Unix. If you know how to do this can you post a code sample. Orcun Colak orcuncolak@yahoo.com

      T Offline
      T Offline
      TomKat
      wrote on last edited by
      #2

      locally or on a remote host ? if locally try a little trick ! try to create a udp server on that port ! if one exists it will certainly fail ! it only fails if you have a server started , or you have not initialized winsock ! //i write a nice winsock article ! in win2000 / xp section ! check it out ! I am the mighty keeper of the book on knowledge . Contact me to get your copy .

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups