write()
描述
傳送資料到所有連線中的用戶端。
語法
server.write(data)
server.write(buffer)
server.write(buffer, size)
參數
data
:要傳送的資料,型態為 byte 或 char
buffer
:存放資料的字元陣列,型態為 byte 或 char
size
:字元陣列(buffer)的大小,型態為 byte
回傳
byte
:回傳成功傳送的字元數
See also
- GSMServer
- ready()
- beginWrite()
- endWrite()
- read()
- available()
- 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.