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"

Is it possible to create Tcp IP Connection using Headers from Engine\Source\ThirdParty Folder

Greetings everyone,

I try to build up a simple test program in which an Actor in UE lift up and down via data from a server. UE Program should be the client and my c++ ConsoleApp on the other PC should be the server. For the server code I used simple the basic example from Microsoft to test if I can get a connection between both PCs in the first step. For the UE part I used the tutorial from Rama.

Microsoft: https://msdn.microsoft.com/de-de/library/windows/desktop/ms737593(v=vs.85).aspx Rama Link: https://wiki.unrealengine.com/TCP_Socket_Listener,_Receive_Binary_Data_From_an_IP/Port_Into_UE4,_(Full_Code_Sample)

I get both codes to work but they are unable to create a connection. Thats why I digged deeper into the engine source files and found some good looking header files in the ThirdParty folder of the engine which I want to try to use insteed of the Rama Tut code. I thought about trying to use tcp_client_socket.h or tcp_socket_win.h. So my question is first of all could that be a good way to get my program working. And second question is how can I use this classes? I couldn´t find a description in the documentation about how to use/include those classes from the ThirdParty folder.

Thanks to everyone who wants to help.

PS: I would also be very thanksful if anyone who already did something like and get it to work in what way ever would like to share his code with me or let me know which classes he used. Thanks!

Product Version: UE 4.10
more ▼

asked Dec 04 '15 at 12:39 PM in C++ Programming

avatar image

1 1 2 2

(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