CODESYS - the IEC 61131-3 automation software
https://forum.codesys.com/

TCP Socket example?
https://forum.codesys.com/viewtopic.php?f=2&t=133
Page 1 of 1

Author:  Antti [ Thu May 04, 2006 10:45 am ]
Post subject:  TCP Socket example?

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

Maybe TCP-server and TCP-client.. :roll:

Author:  B.Roth [ Thu May 04, 2006 12:24 pm ]
Post subject: 

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

Author:  Frank Hailer [ Thu May 04, 2006 12:26 pm ]
Post subject:  Example TcpUdp.pro

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

Author:  Antti [ Mon May 08, 2006 7:47 am ]
Post subject:  SysSockSelect

Hi!

Thanks from example. I got my project working :)

Author:  Antti [ Mon Jun 12, 2006 6:10 am ]
Post subject:  ReceiveData OK, SendData not working.

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?

Author:  Stefano.Casarini [ Wed Nov 12, 2008 11:11 am ]
Post subject:  Re: ReceiveData OK, SendData not working.

Thanks for the TCPUDP example

Author:  KiranK [ Wed Mar 14, 2012 11:34 am ]
Post subject:  Re: SysSockSelect

Antti wrote:
Hi!

Thanks from example. I got my project working :)


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

Author:  jlm60 [ Fri Jun 06, 2014 8:45 am ]
Post subject:  Re: TCP Socket example?

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

Author:  danyamian [ Mon Jan 29, 2018 8:37 am ]
Post subject:  Re: Example TcpUdp.pro

Frank Hailer wrote:
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.

Author:  danyamian [ Mon Jan 29, 2018 8:41 am ]
Post subject:  Re: TCP Socket example?

jlm60 wrote:
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!

Page 1 of 1 All times are UTC+01:00
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/