WATTCP API Functions
MVI-ADMNET
♦
'C' Programmable
Ethernet Module
ProSoft Technology, Inc.
Page 75 of 90
December 13, 2006
sock_putc
Syntax:
byte sock_putc( sock_type *skType, byte character);
Parameters:
skType
Socket that will be used to get string data from.
character
A character that is used.
Description:
This function is used to put one character at a time to the socket.
Return Value:
Character put in is returned.
Example:
sock_type *socket;
char in;
. . .
in = sock_putc(socket, 'A');
printf("%c", in);
See Also:
sock_puts