G
G
Galdar Turin2020-10-01 10:49:39
Node.js
Galdar Turin, 2020-10-01 10:49:39

How to determine in the net package that two pieces of data will come?

Can anyone come across and know how to determine the amount of data often. I have a regular net socket server that receives data.toString('hex') and it happens that one line arrives, and it happens that it follows another in a second. Here's how to determine how many such lines can be?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question