Of course: that’s what the Connect ME and Connect EM are made for (ethernet-to-serial conversion). But the real question isn’t about establishing the socket, but the protocol you are going transmit over that socket to send/receive data. There are almost unlimited choices for that.
I have a windows socket connection and I like to write direct to the EM without change anything to the Digi Connect EM firmware or write my own application.
I want to control it by a VB.net application with a socket connection.
Something like this for sending data to the serial port:
tcpClient.Connect(“192.168.1.68”, 10001)
networkStream = tcpClient.GetStream()
’ Do a simple write.
'MsgBox(“Data send…”)
Textbox2.text = “Data has been send…”