UDP Enable Port Sharing
Show older comments
I have one PC (call it the brain) create a separate UDP object for a connection to each other PC (call them the body parts) on my network. I'm trying to use EnablePortSharing to make things easier. With port sharing on, all incoming traffic to the brain arrives on the first UDP object I call fopen() on, no matter which body part sent the message. Outgoing traffic behaves as expected.
Is this a bug, or me simply not understanding what port sharing is actually supposed to do? If it's me, can anybody explain how it actually works (or more, why)? Perhaps an example of when it's useful?
Answers (1)
Greg
on 2 Mar 2017
0 votes
Categories
Find more on UDP Interface in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!