<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Using TCP functions in simulation mode</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a5dd2c42c6/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a5dd2c42c6/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/a5dd2c42c6/</id><updated>2020-02-27T13:47:50.870000Z</updated><subtitle>Recent posts to Using TCP functions in simulation mode</subtitle><entry><title>Using TCP functions in simulation mode</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a5dd2c42c6/?limit=25#2cf6" rel="alternate"/><published>2020-02-27T13:47:50.870000Z</published><updated>2020-02-27T13:47:50.870000Z</updated><author><name>cerminek</name><uri>https://forge.codesys.com/u/cerminek/</uri></author><id>https://forge.codesys.com5f6c6cbcc026c0bfc7b157fe1b30a0a851326e21</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;jugglingcats hat geschrieben:&lt;/strong&gt;&lt;br/&gt;
We have a programme that creates a socket listener using SysSockCreate etc from SysSocket lib. It seems this program can run in simulation but cannot use sockets (SysSockCreate always returns 0).&lt;br/&gt;
It would be very useful to run this programme locally in simulation rather than deploy to a real device, and have it listen on the PC network adapter. I wonder if this is possible?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Simulation is unusable.. Why not to start runtime on you PC? It's the same like real PLC and also it can comunicate, eg. with 127.0.0.1 on your laptop with any other sw....&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using TCP functions in simulation mode</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/a5dd2c42c6/?limit=25#05f6" rel="alternate"/><published>2020-02-27T13:47:50.829000Z</published><updated>2020-02-27T13:47:50.829000Z</updated><author><name>jugglingcats</name><uri>https://forge.codesys.com/u/jugglingcats/</uri></author><id>https://forge.codesys.com52c1b44bc5b5049da018f1d692f73bbefd5a952d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;We have a programme that creates a socket listener using SysSockCreate etc from SysSocket lib. It seems this program can run in simulation but cannot use sockets (SysSockCreate always returns 0).&lt;/p&gt;
&lt;p&gt;It would be very useful to run this programme locally in simulation rather than deploy to a real device, and have it listen on the PC network adapter. I wonder if this is possible?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>