eldera
12-11-2015, 01:37 PM
1) Is it possible to check if x port is already used by IpcPublisherSocket without crashing script?
14:30 XenoScript Error:
Script: 111/11.lua
Error: Address in use
This is an error with user-input and should not be reported as a bug with
XenoBot.
2) Is there an IPC pattern that allows to have multiple publishers and only one subscriber? I want to send data from multiple clients to "server" which will do something with data and will never send anything back to clients.
I think it's possible with REP/REQ but I don't want server to send anything back to clients because when server crashes or turns off all clients will wait for response but they will never get it because server is off.
14:30 XenoScript Error:
Script: 111/11.lua
Error: Address in use
This is an error with user-input and should not be reported as a bug with
XenoBot.
2) Is there an IPC pattern that allows to have multiple publishers and only one subscriber? I want to send data from multiple clients to "server" which will do something with data and will never send anything back to clients.
I think it's possible with REP/REQ but I don't want server to send anything back to clients because when server crashes or turns off all clients will wait for response but they will never get it because server is off.