write()

描述

传送资料到伺服端。

语法


client.write(data)
client.write(buffer)
client.write(buffer, size)

参数

data:要传送的资料,型态为 byte 或 char
buffer:存放资料的字元阵列,型态为 byte 或 char
size:字元阵列(buffer)的大小,型态为 byte

回传

byte:回传成功传送的字元数

See also

- GSMClient
- ready()
- connect()
- beginWrite()
- endWrite()
- connected()
- read()
- available()
- peek()
- flush()
- stop()


函式库参考主页面

The text of the 86Duino reference is a modification of the Arduino reference, and is licensed under a Creative Commons Attribution-ShareAlike 3.0 License. Code samples in the reference are released into the public domain.