mathiask88 / node-snap7

node.js wrapper for snap7
MIT License
166 stars 59 forks source link

Set local port #91

Open sebastiancruzg opened 1 year ago

sebastiancruzg commented 1 year ago

Hi there, i am trying to do a connection with a plc-1200 and i have noticed that everytime i request a connection the local port of my computer is set randomnly and then incresing 1by1. I used the function SetParam and although i notice there is not param to set the local port, i looked in the snap7 webpage and i found that the param "1" may do this job. But still it didn't work setting the local port. I wonder if you could help with this task. Greetings ^^