Solved

Help with wininet (INTERNET_OPTION_MAX_CONNS_PER_SERVER)

Posted on 2004-10-03
2
1,092 Views
Last Modified: 2012-06-21
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
Comment
Question by:nikola_mk
2 Comments
 
LVL 12

Accepted Solution

by:
Lee_Nover earned 125 total points
ID: 12211505
0
 
LVL 7

Expert Comment

by:LRHGuy
ID: 12211530
Add to your code:

const
  INTERNET_OPTION_MAX_CONNS_PER_SERVER=73;
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now