Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Webvisu : know ip of current user

  • galexis

    galexis - 2021-05-20

    Is it possible pour know address iP of current user of webvisu ? Or name of computer ?
    Thanks for your answer.

  • galexis

    galexis - 2021-05-23

    ok it work for the highter CurrentClientId, but I want store IP for heach client ID in array.
    How can I do this ?

  • dkugler

    dkugler - 2021-05-23

    extend the s1 variable to an array of strings.
    Then increase the index after the ip is ccopied to s1[i] in the while loop.
    The while loop iterates trough all filtered web visu clients.
    Important hint: Don't miss to reset the index before starting the iteration loop ;-)

  • galexis

    galexis - 2021-05-27

    I put in array of string value of iP from variable S1 :

    MyArray[pClient^.GlobalData.GlobalClientID].my_iP := s1;

    Thank you very much.

  • dkugler

    dkugler - 2021-05-27



Log in to post a comment.