when using socket api to code like this:
# client end
send(string1)
send(string2)
# server end
st1 = recv(4096)
st2 = recv(4096)
The problem is that st1 will receive both string1 and string2. How can I get st2 from string2?
when using socket api to code like this:
# client end
send(string1)
send(string2)
# server end
st1 = recv(4096)
st2 = recv(4096)
The problem is that st1 will receive both string1 and string2. How can I get st2 from string2?