• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1245
  • 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

Cloud Class® Course: Certified Penetration Testing

This CPTE Certified Penetration Testing Engineer course covers everything you need to know about becoming a Certified Penetration Testing Engineer. Career Path: Professional roles include Ethical Hackers, Security Consultants, System Administrators, and Chief Security Officers.

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