Name
easy:SetOpt_LocalPort -- set local port number to use for socket
Synopsis
easy:SetOpt_LocalPort(port)
Function
Pass a value. This sets the local port number of the socket used for the connection. This can be used in combination with #CURLOPT_INTERFACE and you are recommended to use #CURLOPT_LOCALPORTRANGE as well when this option is set. Valid port numbers are 1 - 65535.

Inputs
port
input value

Show TOC