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. General Programming
  3. C#
  4. System.Net query

System.Net query

Scheduled Pinned Locked Moved C#
questioncsharpdatabase
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.
  • S Offline
    S Offline
    softty
    wrote on last edited by
    #1

    How do I simulate a ping command ?? And My need is to know IP "156.72.1.30" is reachable or not , if yes, port 3962 opened or not. I do not know which service is running on that port. love2code

    M 1 Reply Last reply
    0
    • S softty

      How do I simulate a ping command ?? And My need is to know IP "156.72.1.30" is reachable or not , if yes, port 3962 opened or not. I do not know which service is running on that port. love2code

      M Offline
      M Offline
      Mohamad Al Husseiny
      wrote on last edited by
      #2

      softty wrote: How do I simulate a ping command ?? And My need is to know IP "156.72.1.30" is reachable or not To Send Ping Message You need to use ICMP (Internet Control Message Protocol ) With raw Scocket .Net dosn't have class to do that so you need to do it Yourself but this solved problem you can look at Ping Utility in C#[^] http://www.eggheadcafe.com/articles/20020209.asp[^] http://www.codeproject.com/dotnet/CSharpPing.asp[^] softty wrote: if yes, port 3962 opened or not Try to open it you succeeded th port is Not Open If not the port was Opend MCAD

      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