CireSnave added the comment:
Wow. Thank you Eryk Sun. While that seems like a convoluted way to make a
type act like the type it is...it works. Verified it with the following code:
from ctypes import POINTER, c_char, sizeof, Structure
class char_from_c(c_char):
pass
print("Si
New submission from CireSnave :
When dealing with a Structure containing c_char variables, the variables are
incorrectly being typed as bytes. As a result, a pointer to those c_char
variables can not be created because bytes is not a ctypes type.
from ctypes import (
Structure
New submission from CireSnave :
It appears that Python's socket module is missing support for the IGMPv3 socket
options needed to support Source Specific Multicast. Many developers appear to
be adding the necessary constants through something like:
if not hasattr(socket, "IP_UNBL