Indy ping error 10040 'message too long'

Indy ping error 10040 'message too long'
is there a good solution to avoid this error? because I tried *'Set the PacketSize property to 24' * but still the app crashes sometiomes.
http://stackoverflow.com/questions/12723081/delphi-indy-ping-error-10040

Comments

  1. Why would you want to change away from a standard ping size?

    ReplyDelete
  2. I tried to do it without changing the page size but the error 10040 keeps coming and I want to avoid it... I googled it and the link above appeared telling me to change the page size value.. But still the same.
    So I asked if there is another way to avoid that error

    ReplyDelete
  3. PacketSize maybe?

    Ping can be very unreliable way to check connection, some firewalls block the Ping.

    In controlled environment for sure, when you can be sure that there isn't firewalls that will block all pinging attempts, should work.

    ReplyDelete
  4. vsSynPing. ping(host) has solved the problem
    SynapseVS library.
    Thank you all

    ReplyDelete

Post a Comment