OSCAT Forum

network.lib => Codesys 2 => Thema gestartet von: jzhvymetal am 26. Februar 2012, 19:49:43

Titel: IP_CONTROL not upated in version 1.21
Beitrag von: jzhvymetal am 26. Februar 2012, 19:49:43
I think there is a mistake in the current release. The IP_Control is the same as in release 1.12. It does not reflect the code found in the following link

http://www.oscat.de/community/index.php/topic, 1649.0.html
Titel: Re: IP_CONTROL not upated in version 1.21
Beitrag von: peewit am 26. Februar 2012, 20:40:31
yes, there is a mistake
Please take a look at the attachment.

[gelöscht durch Administrator]
Titel: Re: IP_CONTROL not upated in version 1.21
Beitrag von: jzhvymetal am 26. Februar 2012, 20:57:40
Peewit,

I am trying to port the code to use on CoDeSys3 PLC. For some reason I can not get the IP_Control to work unless I use the following:

SysSockSetOption (socket, SOCKET_SOL, SOCKET_SO_REUSEADDR, ADR dint_true () function to determine (dint_true)); (* Set option for local address reuse *)

Currently I use the older library which CoDeSys renamed SysSocket23. I plan on porting over to the newer library but was able to debug on why it would not work.