CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Wed Nov 21, 2018 9:53 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 10 posts ] 
Author Message
 Post subject: TCP Socket example?
PostPosted: Thu May 04, 2006 10:45 am 
Offline

Joined: Wed Feb 22, 2006 12:41 pm
Posts: 6
Could someone nice post SysLibSockets library(SysLibSockets.lib) example?

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


Top
   
 Post subject:
PostPosted: Thu May 04, 2006 12:24 pm 
Offline

Joined: Thu Jan 05, 2006 11:46 am
Posts: 34
Ask at the 3S-support for the TcpUdplib.lib and for an example.


Top
   
 Post subject: Example TcpUdp.pro
PostPosted: Thu May 04, 2006 12:26 pm 
Offline
User avatar

Joined: Mon Feb 21, 2005 12:18 pm
Posts: 10
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


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

_________________
Qualit├Ątssicherung


Top
   
 Post subject: SysSockSelect
PostPosted: Mon May 08, 2006 7:47 am 
Offline

Joined: Wed Feb 22, 2006 12:41 pm
Posts: 6
Hi!

Thanks from example. I got my project working :)


Top
   
PostPosted: Mon Jun 12, 2006 6:10 am 
Offline

Joined: Wed Feb 22, 2006 12:41 pm
Posts: 6
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?


Top
   
PostPosted: Wed Nov 12, 2008 11:11 am 
Offline

Joined: Tue Nov 11, 2008 10:47 pm
Posts: 15
Thanks for the TCPUDP example


Top
   
 Post subject: Re: SysSockSelect
PostPosted: Wed Mar 14, 2012 11:34 am 
Offline

Joined: Mon Mar 12, 2012 11:25 am
Posts: 18
Antti wrote:
Hi!

Thanks from example. I got my project working :)


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


Top
   
 Post subject: Re: TCP Socket example?
PostPosted: Fri Jun 06, 2014 8:45 am 
Offline

Joined: Thu Oct 24, 2013 7:29 am
Posts: 1
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


Top
   
 Post subject: Re: Example TcpUdp.pro
PostPosted: Mon Jan 29, 2018 8:37 am 
Offline

Joined: Wed Oct 25, 2017 10:25 am
Posts: 14
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.


Top
   
 Post subject: Re: TCP Socket example?
PostPosted: Mon Jan 29, 2018 8:41 am 
Offline

Joined: Wed Oct 25, 2017 10:25 am
Posts: 14
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!


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 10 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 2 guests


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

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited