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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.