FSocket Connection breaks
I am using an Fsocket to receive data from a remote client. The socket is setup much the same way as in this example: https://wiki.unrealengine.com/TCP_Socket_Listener,_Receive_Binary_Data_From_an_IP/Port_Into_UE4,_(Full_Code_Sample)
I am now only testing over localhost/127.0.0.1 and receiving data from a python script. The data is recieved when a user presses a key and the function TCPReceiveData, listed below, is called.
After reading from the socket anywhere between 10 and 50 times the connection breaks and it enters the following if statement:
And I cannot read from the socket anymore. This happens very unregularly and I cannot for the life of me figure out how to solve this
asked Jul 23 '15 at 07:24 PM in C++ Programming
It is possible that your Socket has been GC by the reflection system.
answered May 11 '16 at 07:02 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here