Skip to main content
Liran Tabib
Inspiring
February 2, 2021
Question

extendscript Socket error on mac only

  • February 2, 2021
  • 1 reply
  • 876 views

Hi!

I’m coding some servers for After Effects and I encountered a problem.

On windows os everything goes smooth but I’m having some trouble using the same code on a mac.

I narrowed down the issue to the socket listen() function

Here is a small part of a code that returns “true” on a PC but returns “false” on a Mac:

conn = new Socket();
alert (conn.listen(8080))

Any help would appreciated!

This topic has been closed for replies.

1 reply

Participant
June 13, 2022

Having the same issue. Did you find out how to fix that?

Liran Tabib
Inspiring
June 13, 2022

Unfortuletly not...

Aperrently Mac OS does not support es3 ExtendScript fully anymore (socketwise)

So I moved to CEP panels coding - that can incorperate NodeJS and now it is possible to use sockets in more stable manner across OS platforms.

This is what made Render Brain possible- for network rendering in After Effects.

I hope this help

Cheers!

Participant
June 14, 2022

Thanks a lot. I wanted a start-up script to listen for data from me. I guess it's impossible to write a start-up script in node?