Thread: Feature Request jjSendPacket UDP option
View Single Post
Zah dud4h

JCF Member

Joined: Dec 2014

Posts: 30

Zah dud4h is doing well so far

Nov 20, 2024, 09:07 PM
Zah dud4h is offline
Reply With Quote
jjSendPacket UDP option

If i remember correctly, the jjSendPacket only sends TCP packets which are slow but sometimes a faster version that uses UDP packets might be more useful in situations where you'd want your code to stream something fast such as positions or even dynamic events without making them look choppy/laggy,

I felt like i wanted to post this suggestion here as well for a better organization

Quote:
jjSendPacket(jjSTREAM &in packet, int toClientID = 0, uint toScriptModuleID = jjScriptModuleID, bool sendAsUDP = false)
I already suggested it to Violet long ago but i'm not sure if it was taken into account or not, as i was informed nobody was asking for this yet
__________________
.