Skip to content

UDP socket fix and debug

LanLinkProvider.m: uncommented some previously commented out NSLogs for easier debug. Added a variable for incrementing the udp port for each reconnection if the previous udp port doesn't work. Figured out that somehow calling the close() functions twice on the same udp port closes it properly while calling it once does essentially nothing. udp problem's source is unclear, might be the API/CocoaPod CocoaAsyncSocket.

Edited by Lucas Wang

Merge request reports