✅ TCP Socket incorrectly reading
I'm newer to messaging around with internet protocol, sockets, and everything in relation, so pardon any faulty language.
I'm currently attempting to have sockets from multiple other programs on other networks and ports all connect to a single port on my machine, though all in different channels. They're all successfully connecting and allowing messages, but it appears that my device is failing to differentiate between the sources. When reading, they can all access each-others stream. I've tried both using sockets and TCPListeners.
How would I go about resolving this or implementing something more effective?
I'm currently attempting to have sockets from multiple other programs on other networks and ports all connect to a single port on my machine, though all in different channels. They're all successfully connecting and allowing messages, but it appears that my device is failing to differentiate between the sources. When reading, they can all access each-others stream. I've tried both using sockets and TCPListeners.
How would I go about resolving this or implementing something more effective?
