Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to monitor tcp port or ping with CQC?
#13
OK, my problem was that I wasn't clearing the checksum field before calculating the checksum (which includes the checksum field.) The first time it was zero since it hadn't been set yet. After that it would cause an invalid checksum to be calculated. So I'm declaring the ping stuff ready and moving on to the next thing.

BTW, that m_Time.IsDiffGreater() call I use in that example above is something i just added. It's just a really nice convenience that I don't know why I hadn't added before. But it won't work until you get the next drop (4.1.905).
Dean Roddey
Explorans limites defectum
Reply


Messages In This Thread
how to monitor tcp port or ping with CQC? - by Dean Roddey - 04-12-2012, 03:08 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Question on CQC / WSE 2016 / Port 443 kblagron 3 5,701 11-15-2017, 09:06 PM
Last Post: Dean Roddey
  Serial Port Demons batwater 13 11,914 03-06-2017, 02:30 PM
Last Post: batwater
  cheap single port TCP/Serial? SomeWhatLost 15 8,427 08-22-2016, 08:12 PM
Last Post: Dean Roddey
  Baby Monitor? Sendero 5 2,907 02-15-2016, 05:49 PM
Last Post: jkmonroe
  8 port relay board with RS232 or Ethernet - Cheap znelbok 2 3,351 02-03-2015, 11:33 AM
Last Post: znelbok
  Energy Monitor by Outlet/Plug? jkmonroe 13 4,702 01-16-2014, 03:44 PM
Last Post: jkmonroe
  HP L2105tm Optical Touch Monitor LesAuber 0 1,433 04-15-2013, 11:13 AM
Last Post: LesAuber
  Com port redirecter help SomeWhatLost 5 2,943 02-03-2011, 03:00 PM
Last Post: Dean Roddey
  Lantronix serial port thingy reliability SomeWhatLost 15 6,252 04-08-2010, 12:28 PM
Last Post: SomeWhatLost
  Any easy way to Ping? anogee 4 2,838 07-21-2009, 05:07 PM
Last Post: broconne

Forum Jump:


Users browsing this thread: 1 Guest(s)