TCP Socket example?

Antti
2006-05-04
2018-01-29
  • Antti

    Antti - 2006-05-04

    Could someone nice post SysLibSockets library(SysLibSockets.lib) example?

    Maybe TCP-server and TCP-client..

     
  • B.Roth

    B.Roth - 2006-05-04

    Ask at the 3S-support for the TcpUdplib.lib and for an example.

     
  • Anonymous - 2006-05-04

    Originally created by: Frank Hailer

    Hello

    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

    TcpUdp.zip [11.01 KiB]

     
  • Antti

    Antti - 2006-05-08

    Hi!

    Thanks from example. I got my project working

     
  • Antti

    Antti - 2006-06-12

    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?

     
  • Anonymous - 2008-11-12

    Originally created by: Stefano.Casarini

    Thanks for the TCPUDP example

     
  • KiranK

    KiranK - 2012-03-14

    Antti hat geschrieben:
    Hi!
    Thanks from example. I got my project working

    can u give me the TcpUdpLib.lib fast i am in need

     
  • jlm60

    jlm60 - 2014-06-06

    Hello,
    Looking for a "exemple.pro" to create a tcp server nonblocking
    that proposed above is blocking "tcpudp.zip"
    Thank you in advance for your help,

    jlm

     
  • danyamian

    danyamian - 2018-01-29

    Frank Hailer hat geschrieben:
    Hello
    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

    Hi, How can I open the example project "TcpUdp.pro" in CoDeSys V3.5?

    Thank you very much.

     
  • danyamian

    danyamian - 2018-01-29

    jlm60 hat geschrieben:
    Hello,
    Looking for a "exemple.pro" to create a tcp server nonblocking
    that proposed above is blocking "tcpudp.zip"
    Thank you in advance for your help,
    jlm

    Hi, How can I open the example project "exemple.pro" in CoDeSys V3.5?

    Thanks you very much!

     

Log in to post a comment.