Einzelnen Beitrag anzeigen

idefix2

Registriert seit: 17. Mär 2010
Ort: Wien
1.027 Beiträge
 
RAD-Studio 2009 Pro
 
#4

AW: Mailversand aus einem Delphi Programm

  Alt 9. Jun 2015, 21:02
BTW das "Aufteilen" in Blöcke übernimmt eine untere OSI Schicht und nicht das Application Layer.
Hmm, bist du da sicher?
In der msdn steht zum winsock Send Aufruf, den dieses Programm verwendet:
Zitat:
The send function is used to write outgoing data on a connected socket.

For message-oriented sockets (address family of AF_INET or AF_INET6, type of SOCK_DGRAM, and protocol of IPPROTO_UDP, for example), care must be taken not to exceed the maximum packet size of the underlying provider. The maximum message packet size for a provider can be obtained by calling getsockopt with the optname parameter set to SO_MAX_MSG_SIZE to retrieve the value of socket option. If the data is too long to pass atomically through the underlying protocol, the error WSAEMSGSIZE is returned, and no data is transmitted.
Dass aber auch keine Fehlermeldung kommt und das Programm einfach bei dem Aufruf hängenbleibt, ist etwas eigenartig.
  Mit Zitat antworten Zitat