• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[NodeJS] Basic TCP Server

Skilled Illusionist
Joined
Jun 21, 2010
Messages
324
Reaction score
54
Hi all,

It's been a while since I've posted on RaGEZONE. I've been recently learning and getting more used to TCP sockets and handling packets in NodeJS and all that kind of stuff that comes along with TCP sockets. I made a very basic TCP server that allows users to chat back and fourth.

I thought I'd post the code on GitHub and share it here for anyone looking to learn or is interested in TCP communication in NodeJS or just in general, or even if you want to correct me on my bad coding or techniques!

Let me know what you think! :)

 
Joined
Jun 10, 2009
Messages
659
Reaction score
141
Seems like a simple implementation which sends/receives text messages.

Quite sometime back I had written full fledged game server emulator using NodeJS:
 
Initiate Mage
Joined
Mar 12, 2015
Messages
3
Reaction score
0
Hello cyberinferno

I am curious about your emulator. I would like to use it for my server. Could you please provide me with a link to the guide for the same. Your time and effort would be greatly appreciated.

Regards,
Raj
 
Newbie Spellweaver
Joined
Dec 26, 2013
Messages
44
Reaction score
12
Cool little project. I can't wait to play around with it at work.
 
Back
Top