Closed xctest closed 4 years ago
if you don't want a socket to close, don't use end
to send data, use write
https://nodejs.org/api/net.html#net_socket_end_data_encoding_callback https://nodejs.org/api/net.html#net_socket_write_data_encoding_callback
everytime when i send data using socket, it always closed after sending, so how to keep the connection.
this is my swarm configuration:
any help is appreciated!