Is there a way to call the _recv()_ procedure without giving the length of the expected string value (eg like _recv(answer)_ instead of _recv(answer, length)_)? I want to send strings of variable length and it seems like they only will be received if the length is exactly the same (edit: seems like it also works when the string is longer as defined but it gets truncated) as defined by the length var.
- Receiving strings of uncertain length over recv() | net.Socket ElCapitan