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

Exception raised for an invalid datagram size.

File
EIdPackageSizeTooBig = class(EIdSocketHandleError);

EIdPackageSizeTooBig is an EIdSocketHandleError descendant that represents the exception raised when TIdSocketHandle.SendTo is unable to send a large datagram. 

EIdPackageSizeTooBig is raised in TIdStackWindows.WSSendTo when the WinSock SendTo() API returns the value Id_SOCKET_ERROR, and the last error message is Id_WSAEMSGSIZE

EIdNotAllBytesSent uses the resource string in RSPackageSizeTooBig to construct the message for the exception. 

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