RE: Sbout UDP packet size


2003-08-25 10:36:35 PM
cppbuilder69
Quote


hii,,

I make an UDP example but because of my companent packet
size cannot up to
2K.

What can i do ?

Is there any companent to
offer me and example about it

thanks
2k is pretty much normal. You
can always go higher and lower - but ultimately the maximum packet size depends
on your TCP/IP implementation (ie winsock if you are working in windows).
You
can try IP*Works! UDPPort component. It contains a WinsockMaxDatagramSize
property which you can read to see what your systems max packet size is. Then
you can change the value of your outgoing packet using the OutBufferSize and
MaxPacketSize properties. You can find IP*Works! at
www.nsoftware.com/download/.
Regards,
Lance R.
/n
software
www.nsoftware.com/
-