[SDL] the "UDPpacket" structure "data" member type

YuGiOhJCJ Mailing-List yugiohjcj-mailinglist at laposte.net
Sun Oct 6 07:27:05 PDT 2013


Hello,

I am using sdl_net-1.2.8.
I have a problem with the "UDPpacket" structure [1] because the "data" member is of type "Uint8*" whereas the data I want to send over network is a structure... So I am unable to cast.

Why it is not a "void*" type for the data member ?

Thank you.
Best regards.

[1] http://jcatki.no-ip.org:8080/SDL_net/SDL_net.html#SEC52



More information about the SDL mailing list