receiveUDPData size argumnet not working

Report any Hollywood bugs here
Post Reply
DieterG
Posts: 20
Joined: Tue Oct 23, 2018 9:40 pm

receiveUDPData size argumnet not working

Post by DieterG »

Hello, i have Hollywood 7.1 and it seems the ReceiveUDPData optional Argument for the size do not working.
Default size is set to 8192 bytes, so all works until you will get 8193 bytes.

Code: Select all

temp$, ipadress2$, portnr = ReceiveUDPData(1,blocksize+4)
or easier:

Code: Select all

temp$, ipadress2$, portnr = ReceiveUDPData(1,16188)
bot will not work , if more then 8192 bytes received, the error "The following network error occurred:
Message too long" appears.

I know, Andreas will not fix errors. Maybe it works in actual Hollywood 8.0 ?
If not, Andreas may repair it and sell with next Hollywood 9.0 ?
Thanx
Dieter
User avatar
airsoftsoftwair
Posts: 5443
Joined: Fri Feb 12, 2010 2:33 pm
Location: Germany
Contact:

Re: receiveUDPData size argumnet not working

Post by airsoftsoftwair »

That's actually a feature. ReceiveUDPData() is currently limited to 8192 bytes. I'll add this to the documentation. You can just read in smaller chunks to work around this limitation.
Post Reply