Sign in to follow this  

Problem with sockets module

Recommended Posts


My problem is simple but weird. I'm just doing sockOpen to my socket server but for some reason the server console throws:

' WARNING: Bad argument @ 'triggerEvent' [Expected element at argument 2]'

I'm using Linux x64 module ( and my script is like:

local discordSocket = sockOpen("", 777);

My socket server is in nodejs:

var App = require('express')();
var server = require('http').Server(App);
var io = require('')(server);

server.listen(777, () => console.log("Escuchando puerto 777"));

io.on('connection', function (socket) {
  console.log("Alguien se ha conectado!");


Edited by Sasu

Share this post

Link to post

Solved. It was oop attribute in meta, this break the module.

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.