Topic Path: Symbol Reference > Classes > EIdInvalidPortRange Class
ContentsIndexHome
PreviousUpNext
EIdInvalidPortRange Class

Represents an exception raised during bind due to an invalid port number range.

File
EIdInvalidPortRange = class(EIdSocketHandleError);

EIdInvalidPortRange is an EIdSocketHandleError descendant that represents an exception raised when a socket handle cannot using a port number for a requested range of port numbers. 

EIdInvalidPortRange is raised in TIdSocketHandle when the Bind method encounters client port ranges where the minimum port number is larger than the maximum port number. EIdInvalidPortRange uses the constant value RSInvalidPortRange, including the mimimum and maximum port numbers, to form the exception message text.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.