Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"


Hey all,

I've setup a PLATFORM_SOCKETSUBSYSTEM for connecting to sockets which in UE4 version 4.8.x was working perfect. Now I've upgraded to version 4.9.0 I'm getting errors when destroying the socket.

I create the socket using:

 ConnectionSocket = ISocketSubsystem::Get(PLATFORM_SOCKETSUBSYSTEM)->CreateSocket(NAME_Stream, TEXT("default"), false);

and Destroy the socket using:


The Error I'm getting is:

Unhandled exception at 0x00007FFAEA0A2F84 (UE4Editor-Mangled-Win64-DebugGame.dll) in UE4Editor.exe: 0xC0000005: Access violation reading location 0xFFFFFFFFFFFFFFFF.

Would this be bad practice to just use the ConnectionSocket->Close(); I believe it is but would like clarification if possible.

For Now I'm having to remove this DestroySocket line in order to continue developing.


I do have the Sockets in my project build as without the line above All my sockets and connections are working perfect.

Thanks for any assistance.

Product Version: UE 4.9
more ▼

asked Sep 16 '15 at 09:52 AM in C++ Programming

avatar image

75 7 8 11

avatar image Altrue Jun 05 '17 at 01:50 PM


I'm digging this post from the depths to signal that I've reached the exact same point and I am having the exact same problem.

Removing these ->DestroySocket() lines removes the crash, but I have to kill the UnrealEngine process when I close it because otherwise it lingers if I've at any point created sockets in PIE.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question