Convert C# function to Send / receive data from TCP server to Node.js
$10-30 USD
Terminado
Publicado hace casi 9 años
$10-30 USD
Pagado a la entrega
I have the following function written in C# that sends and receives data to a TCP server. I need this function converted to javascript to run in Amazon Web Services Lambda Node.js.
The general outline is:
a) function receives a string.
b) convert string to bytes and calculate length
c) send length to server
d) send bytes to server
e) server sends back calculating
f) server send back length to receive
g) server sends back bytes
h) convert bytes to string
I) return string
function ends.
The C# function is attached.