Sockets in Jython

Does Jython support TCP/IP socket programming? Xasga says yes its in “The post is in the Ignition Design Help forum.Title: Read Data Script for TCP.Date: September 14, 2016.” Which I don’t have access to.

Some may please confirm and clarify?


Yes, you can use either Jython/Python’s sockets or just access the Java socket API. Either one works.

But the scripting functions library system suppports only system.serial and libraries as far as communication is concerned. Does python/jython support its own builtin library for socket programming?

Yes, there’s socket/networking support in Python’s stdlib.

OK fine. I think it will be worth exploring this option.