ProSoft Technology MVI69-ADMNET User Manual

Page 104

Advertising
background image

WATTCP API Functions

MVI-ADMNET ♦ 'C' Programmable

Developer's Guide

'C' Programmable Application Development Module with Ethernet

Page 104 of 122

ProSoft Technology, Inc.

February 20, 2013

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 (page 103)

Advertising