Download Core to create games for FREE:
Join the Game Creator Challenge:
In this video, we go over how to use the WebSockets module in an Unreal Engine game. The WebSockets module includes only client functionality. Therefore, we use the module to establish a connection between Unreal clients and a sample NodeJS server, send and receive messages over that connection, and close that connection. Since the WebSockets module is not natively exposed to blueprints, we wrote some C code in the GameInstance and Character classes in order to not only connect to and disconnect from a server but also send messages to the server and implement event handlers in the IWebSocket interface. At the end of the video, we test multiple packaged clients simultaneously by having them all connect to the same server and send messages to each other via WebSockets.
*****IMPORTANT LINKS*****
More information about the WebSocket protocol:
Unreal Engine project code that was used in this video:
WebSocket server code that was used in this video:
Download and install NodeJs:
Download and install Git:
How to expose C code to blueprints:
Cool things you can make with WebSocket:
Unreal Engine API Reference for the WebSockets module:
*****IMPORTANT COMMANDS*****
cd [directory-path]
cd “[path-with-spaces]“
git clone
npm install
node server
To end the server: Ctrl-C
Windows: cls
Linux: clear
-WINDOWED
To fit make a window to take up either half or a quarter of the screen on Windows: Windows key any arrow key
How to support the channel:
Get a shirt or sweatshirt with free shipping (Use code “SHIP“ at checkout):
Become a member:
Support us on Patreon:
Donate to our PayPal:
Sponsor us on Github:
Social media links:
Discord:
Twitter:
Instagram:
Facebook:
0:00 Intro
1:09 Sponsor
2:33 Creating a WebSocket connection
10:04 Adding WebSocket event handlers
14:34 Sending data from client to server
18:10 Testing with multiple packaged clients simultaneously
20:40 Outro
#unrealengine #websocket #ue5
1 view
367
99
4 weeks ago 03:33:33 5
Just Listen! Frequency Of God 1111 Hz: Unexplainable Miracles Will Extend To Your Entire Life
4 weeks ago 00:50:40 1
Загадка скрипок Страдивари -документальный фильм Violin Stradivarius
4 weeks ago 00:33:58 3
MEDIA LITERACY TRAINING: How predatory marketing is manipulating you
4 weeks ago 00:00:00 1
“BEL90A Ring Laser Gyroscope – Precision Navigation for Unmanned Vessels“
4 weeks ago 00:03:16 1
How to Draw a Spider Easy Step by Step
1 month ago 00:42:10 5
Tommy Robinson - The Untold Story
1 month ago 00:06:12 1
साबूदाना की बर्फी | नवरात्रि स्पेशल व्रत की
1 month ago 00:03:22 2
Haddaway - What Is Love (Shuffle Dance Music Video) 💃【4K】
1 month ago 00:02:41 1
[2025 DREAM WEEK] How to Make TOMORROW X TOGETHER
1 month ago 00:20:15 2
Karoline Leavitt’s Lifestyle 2025★ House Tour, Husband, Children, Cars, Net Worth....
1 month ago 00:04:29 3
After Dark - (Music Video - Lost In Translation)
1 month ago 00:00:00 1
Bucha Massacre Row At UN LIVE | Putin Aide ‘Proves’ How Kyiv & UK Conspired To Defame Russia
1 month ago 00:03:44 18
. 2: HEART OF CHORNOBYL | 1980’s LIVE-ACTION MOVIE
1 month ago 00:06:52 10
Rentarou’s love speech with ENG subs | Hyakkano/100 girlfriends
1 month ago 00:00:37 1
Revolutionary Skin Grafting Technique Revealed!
1 month ago 00:00:36 1
Corner Not Square? Do this. #tipcentric
1 month ago 00:03:48 1
OFFICIAL Somewhere over the Rainbow - Israel “IZ“ Kamakawiwoʻole
1 month ago 00:10:17 6
17+ Pretty Blood : Red Snow Part 2
1 month ago 00:02:35 1
Tate McRae - greedy (Official Video)
1 month ago 00:04:19 8
Al Bano & Romina Power - Liberta
1 month ago 00:27:20 4
MACRAME OWL Plant Hanger 🦉 Flower Pot Holder (DIY)
1 month ago 00:11:43 1
Revolutionizing Interior Design with AI: A Stunning Demo
1 month ago 00:06:59 1
자연산 광어 대광어 오로시 해체작업, How to Cut a Huge Flatfish?! Flounder Sashimi, 길거리 음식, Korean Street Food
1 month ago 00:12:19 1
DIY daily tote bag,. Zippered bag tutorials for beginners.