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.
