Tcp exception only on target

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
illishar
Posts: 1
Joined: Wed Sep 25, 2013 8:28 am

Tcp exception only on target

Post by illishar »

Hello,

I'm trying to build some small tcp communication. It's based on the samples from here: http://beijerinc.com/support/ix/forum/v ... p?f=9&t=73


My sample works just fine, when tested on the PC. But when I upload it to target, it throws the following exception:

"An unknown, invalid, or unsupported option or level was specified in a getsockopt or setsockopt call".

I'm using the exact same calls as in the samples. What am I doing wrong? My target is a T7A and I'm using the newest version of iX Developer.

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Tcp exception only on target

Post by mark.monroe »

Most of our HMIs use WinCE, which has only a subset of C# functions that the full C# has. You may be using a function that is in the full .NET C# libraries but not in the WinCE version. I would need to see your project as well as know what HMI you are targeting before I could suggest any possible solutions to your issue.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply