mathiask88 / node-snap7

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

Set local port #91

Open sebastiancruzg opened 11 months ago

sebastiancruzg commented 11 months 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 ^^