There's a very useful example project, TcpUdp.pro (enclosed). It includes a TCP Server and Client as well as a UDP Producer and Consumer. The functions within come from the library TcpUdpLib.lib and are modified a little bit.

Bye, Frank Hailer

You do not have the required permissions to view the files attached to this post.

Actually I still have one problem. I can reveive messages from my client(LabView-prgoram) to my Codesys-server, but I can't send messages to Client. I get allways -1 value from Codesys SysSockSend-function. If I check last "TCP/IP API Error Code", I get error "235 Operation would block". Is there problem with socket options, or something else?

There's a very useful example project, TcpUdp.pro (enclosed). It includes a TCP Server and Client as well as a UDP Producer and Consumer. The functions within come from the library TcpUdpLib.lib and are modified a little bit.

Who is online

Users browsing this forum: No registered users and 3 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum