Prosoft-technology MVI69-ADMNET Bedienungsanleitung Seite 110

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 122
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 109
WATTCP API Functions MVI-ADMNET 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module with Ethernet
Page 110 of 122 ProSoft Technology, Inc.
February 20, 2013
sock_dataready
Syntax
int sock_dataready( sock_type *skType );
Parameters
skType
Current socket that will be used to check if data is ready to be read.
Description
This function is used check if there is data ready to be read.
Return Value
Number of bytes ready to be read or -1 if error occurs.
Example
int in;
sock_type *socket;
. . .
in = sock_dataready(socket);
printf("%d", in);
Seitenansicht 109
1 2 ... 105 106 107 108 109 110 111 112 113 114 115 ... 121 122

Kommentare zu diesen Handbüchern

Keine Kommentare