Link to home
Start Free TrialLog in
Avatar of nikola_mk
nikola_mk

asked on

Help with wininet (INTERNET_OPTION_MAX_CONNS_PER_SERVER)

HI.
I use wininet library to set max connections per server.
I'm using InternetSetOption(nil,INTERNET_OPTION_MAX_CONNS_PER_SERVER,@ci, SizeOf(ci))
 function but delphi compliler give me this error: "Undeclared identirier INTERNET_OPTION_MAX_CONNS_PER_SERVER".
INTERNET_OPTION_MAX_CONNS_PER_SERVER doesn't exist in wininet.pas

How can i solve this problem.
Thank you . Nikola
ASKER CERTIFIED SOLUTION
Avatar of Lee_Nover
Lee_Nover

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of LRHGuy
LRHGuy

Add to your code:

const
  INTERNET_OPTION_MAX_CONNS_PER_SERVER=73;