Internet Direct (Indy)
Home
PreviousUpNext
EIdPackageSizeTooBig Class

Exception raised for an invalid datagram size.

Pascal
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. 

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.