Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi [Unterschied] ws2_32.dll.send und wsock32.dll.send (https://www.delphipraxis.net/75826-%5Bunterschied%5D-ws2_32-dll-send-und-wsock32-dll-send.html)

Win32.API 25. Aug 2006 14:25


[Unterschied] ws2_32.dll.send und wsock32.dll.send
 
Hallo Dpler,

wo liegt der genaue Unterschied zwischen der ws2_32.send und der wsock32.send oder ist es ein und die selbe Funktion?

Die ws2_32.dll ist ja eigentlich die winsock2 dll, aber die ws2 Funktion send heißt WSASend warum gibt es dann die Funktion send noch? Oder verstehe ich da was falsch?

Winsock 1.1 : wsock32.dll (Send)
Winsock 2.0 : ws2_32.dll (WSASend und Send :gruebel:)

danke fuer jede antwort :-D

peanut 27. Aug 2006 15:06

Re: [Unterschied] ws2_32.dll.send und wsock32.dll.send
 
Hallo,

also die MSDN sagt:

The WSASend function provides functionality over and above the standard send function in two important areas:

- It can be used in conjunction with overlapped sockets to perform overlapped send operations.
- It allows multiple send buffers to be specified making it applicable to the scatter/gather type of I/O.


Viele Grüße

peanut.


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:59 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz