Prosoft-technology MVI69-ADMNET Manual de usuario Pagina 103

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 122
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 102
MVI-ADMNET 'C' Programmable WATTCP API Functions
'C' Programmable Application Development Module with Ethernet Developer's Guide
ProSoft Technology, Inc. Page 103 of 122
February 20, 2013
sock_puts
Syntax
int sock_puts( sock_type *skType, byte *data);
Parameters
e
Socket that will be used to put string data to.
data
Pointer to the string that will be sent.
Description
This function sends a string to the socket. Character new line "\n", will be
attached to the end of the string.
Return Value
The length that is written to the socket.
Example
sock_type *socket;
char data [512];
int len;
. . .
len = sock_puts(socket, data);
printf("Put %d\n", len);
See Also
sock_putc (page 104)
Vista de pagina 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 121 122

Comentarios a estos manuales

Sin comentarios