Yow Yow

If a ping packet size is bigger than 65500 bytes, its get fragmented.

Is there a way to prevent this ??? IN VB ???

"""
TCP/IP supports a feature called "fragmentation", where a single IP-packet can be broken down into smaller segments. This is needed because the typical Internet connection (dial-up, Ethernet, cable-modem, etc.) only supports packets of around a couple thousand bytes, but IP supports packets up to 64-kbytes. Thus, when sending a single packet that is too large for a link, it is broken up into smaller packet fragments. """

"""
A quirk of IP is that while a single packet cannot exceed 65536-bytes, the fragments themselves can add up to more than that. """



Private Type ICMP_OPTIONS
Ttl As Byte
Tos As Byte
Flags As Byte <---
OptionsSize As Byte
OptionsData As Long
End Type

Public Type ICMP_ECHO_REPLY
Address As Long
status As Long
RoundTripTime As Long
DataSize As Long 'formerly integer
'Reserved As Integer
DataPointer As Long
Options As ICMP_OPTIONS <---
Data As String * 250
End Type

Private Declare Function IcmpSendEcho Lib "icmp.dll" _
(ByVal IcmpHandle As Long, _
ByVal DestinationAddress As Long, _
ByVal RequestData As String, _
ByVal RequestSize As Long, _
ByVal RequestOptions As Long, _
ReplyBuffer As ICMP_ECHO_REPLY, _ <---
ByVal ReplySize As Long, _
ByVal Timeout As Long) As Long