• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1214
  • Last Modified:

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
0
nikola_mk
Asked:
nikola_mk
1 Solution
 
Lee_NoverCommented:
0
 
LRHGuyCommented:
Add to your code:

const
  INTERNET_OPTION_MAX_CONNS_PER_SERVER=73;
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now