Skip to main content



      Home
Home » Eclipse Projects » 4DIAC - Framework for Distributed Industrial Automation and Control » how to send msg by tcp? help pls(tcp communication)
how to send msg by tcp? help pls [message #1842036] Mon, 07 June 2021 22:50 Go to next message
Eclipse UserFriend
I want to use 4diac to connect to server by 4diac and send/recv raw msg.
If I use client_1 FB, the msg send/recv will change to ASN.1 format. But what I need is to send / recv in origin format without change.
Can anyone help to answer this question? thx a lot!
Re: how to send msg by tcp? help pls [message #1842073 is a reply to message #1842036] Tue, 08 June 2021 09:08 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

you need to configure the correct layer over the ID input. the raw[] layer takes in a string and sends it unchanged. If you want to send via IP you have to enter raw[].ip[<InsertIpAddressAndPort>]
Re: how to send msg by tcp? help pls [message #1842093 is a reply to message #1842073] Tue, 08 June 2021 23:27 Go to previous message
Eclipse UserFriend
thx a lot. i test this before, but i use the wrong data type(not STRING, but WSTRING), the question is finished. thank you!
Previous Topic:questions about FBDK
Next Topic:mqtt question, help pls
Goto Forum:
  


Current Time: Fri Jul 11 02:14:23 EDT 2025

Powered by FUDForum. Page generated in 0.07063 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top