1

I've created an simple app with nw.js i wanted it to communicate to UNIX socket domain client(written in c++) to send data to UNIX socket domain server(written in c++).

As both UNIX socket domain client and server are running forever listening for data.How can i pass data from nw.js app to forever running c++ code(client) and receive data back to nw.js app when there is any data available at c++ code forever running code(client).

user4082518
  • 168
  • 1
  • 1
  • 10

1 Answers1

0

See this answer mentioning net.createConnection(path[, connectListener])

Community
  • 1
  • 1
1j01
  • 3,714
  • 2
  • 29
  • 30
  • Please use the close button to close as duplicate instead of answering with a link to another answer (or flag as duplicate if you don't have enough rep). – Denys Séguret Apr 07 '16 at 13:19
  • @DenysSéguret I'm not aware of a close button. Is this something moderators/people with 200000 rep have? Looks like I could flag the question "for serious problems or moderator attention", but there's no way I'm going to click a button like that on a completely well-intentioned question. – 1j01 Apr 07 '16 at 23:26