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.