send(sConnect, (userinput, key), 256, 0);
sConnect is already predefined as a socket
Key is a character array of [32]
Userinput is a character array of [256]
How can you send both of them at the same time using the send function without having to create a separate connection?
Eh...you send one then the other
or
encode them together some how then decode them on the other side.
By nature of networking, you can't send both at the exact same time. You probably won't tell the difference if you use the above workarounds though.
Last edited on