C++ code doesn't execute past a certain point
Hi! I've been trying to make an UDP connection for receiving and sending data following Rama's tutorial; and I've managed to do it mostly, except for when it comes to closing connections.
I initialize listen socket like this:
My code for closing the connection looks like this:
For some reason the code doesn't execute past delete UDPReceiver line, so sockets aren't closed and UDPReceiver isn't null and it causes unreal to hang when I "close" the connection. I've been stuck on this for couple of hours now and I'm totally lost on what to make of it. Halp?
asked Aug 12 '18 at 03:54 PM in C++ Programming
I you're using breakpoints to see whether a line of code is being executed make sure you are running Debug configuration instead of development as with development configuration compiler optimizations may trick the debugger.
answered Aug 13 '18 at 09:51 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here