System.Net.Socket.TSocket.CreateSocket: Unterschied zwischen den Versionen

Aus RAD Studio API Documentation
Wechseln zu: Navigation, Suche
(Updated. 22908)
(LOC-23029)
Zeile 27: Zeile 27:
 
** iOS: [https://developer.apple.com/library/ios/documentation/System/Conceptual/ManPages_iPhoneOS/man2/socket.2.html socket (iOS Manual Pages)]
 
** iOS: [https://developer.apple.com/library/ios/documentation/System/Conceptual/ManPages_iPhoneOS/man2/socket.2.html socket (iOS Manual Pages)]
 
** Android: [http://man7.org/linux/man-pages/man2/socket.2.html#ERRORS socket (Linux Programmer's Manual)]
 
** Android: [http://man7.org/linux/man-pages/man2/socket.2.html#ERRORS socket (Linux Programmer's Manual)]
 +
** Linux: [http://man7.org/linux/man-pages/man2/socket.2.html#ERRORS socket (Linux Programmer's Manual)]
 
|}
 
|}
  

Version vom 24. März 2017, 19:59 Uhr

Delphi

function CreateSocket: TSocketHandle; virtual;

C++

virtual NativeUInt __fastcall CreateSocket(void);

Eigenschaften

Typ Sichtbarkeit Quelle Unit Übergeordnet
function protected
System.Net.Socket.pas
System.Net.Socket.hpp
System.Net.Socket TSocket


Beschreibung

Erstellt einen Socket und gibt ein Socket-Handle zurück.

Exceptions

Ein Aufruf von CreateSocket kann eine der folgenden Exceptions auslösen:

Exception Exception.Message Szenarien

ESocketError

Netzwerk-Socket-Fehler: <Fehlermeldung> (<Fehlercode>) bei API "socket"

Siehe auch