Reset UDP sockets after it was improperly closed

6 views (last 30 days)
I have a GUI that allows users to change ports and IPs to transmit data over UDP, with a button to Connect/Disconnect that opens/closes the socket. However if a user exits the GUI without first disconnecting, the object can not be recreated on the next execution without restarting the OS. I am using win7. As a side note, 'netsh winsock reset' also requires a reboot.

Answers (0)

Categories

Find more on Migrate GUIDE Apps 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!