# TCPSocket.write(String | ArrayBuffer data)
with Promise style call: Not supported
Mini Program plugin: Not supported
in socket Send data on
# parameter
# String | ArrayBuffer data
Data to be sent
# sample code
const tcp = wx.createTCPSocket()
tcp.write('hello, how are you')