Anyone know why this line is not working ``` ...
# kotlin-native
j
Anyone know why this line is not working
Copy code
val serverAddr = alloc<sockaddr_in>()
o
not working in which way?
if you want scoped allocation with auto free on exit, you need to call that inside
memScoped {}
block
j
All sorted. Thanks