write()
描述
传送资料到 Client 目前连线的伺服端。
语法
client.write(val)
client.write(buf, len)
参数
val:要传送到用户端的资料,大小为一个位元组,型态可以为 byte 或 char
buf:一个含有要传送给用户端的资料的阵列,型态可以为 byte 或 char
len:要传送的资料阵列的大小
回传
byte:回传 write() 传送至伺服端的位元组数量
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.
