Autor Thema: IP_CONTROL not upated in version 1.21  (Gelesen 11059 mal)

0 Mitglieder und 1 Gast betrachten dieses Thema.

Offline jzhvymetal

  • Newbie
  • *
  • Beiträge: 9
  • Original SoMachine Ninja
    • Profil anzeigen
IP_CONTROL not upated in version 1.21
« 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
« Letzte Änderung: 26. Februar 2012, 20:00:58 von jzhvymetal »

Offline peewit

  • Moderator
  • *****
  • Beiträge: 2 382
    • Profil anzeigen
Re: IP_CONTROL not upated in version 1.21
« Antwort #1 am: 26. Februar 2012, 20:40:31 »
yes, there is a mistake
Please take a look at the attachment.

[gelöscht durch Administrator]

Offline jzhvymetal

  • Newbie
  • *
  • Beiträge: 9
  • Original SoMachine Ninja
    • Profil anzeigen
Re: IP_CONTROL not upated in version 1.21
« Antwort #2 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.




 
« Letzte Änderung: 26. Februar 2012, 20:59:20 von jzhvymetal »