I'm trying to connect existing server on localhost with LrSocket.
I mean Lightroom connects to the server.
Initiation is from Lightroom.
As I tried with some code, it seems LrSocket works only started with listening.
Is that correct?
I've read through, other thread.
Following is modified test code from API doc.
local LrSocket = import "LrSocket"
LrFunctionContext.callWithContext( 'socket_remote', function( context )
local running = true
functionContext = context,
-- nothing, we don't expect to get any messages back from a send port
running = false
if err == "timeout" then
sender:send( "Hello world" )
while running do