Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swap bytes for tcp port number (case 1165578) #1212

Merged
merged 1 commit into from
Aug 1, 2019

Conversation

UnityAlex
Copy link
Collaborator

Release notes: Port numbers returned from GetActiveTcpConnections on Windows are now correct.

@UnityAlex UnityAlex requested a review from joncham July 31, 2019 19:18
@joncham
Copy link
Member

joncham commented Jul 31, 2019

Should we do the IP6 data structures as well?

@UnityAlex
Copy link
Collaborator Author

I looked at the output to console for the IPv6 values yesterday and I "think" they looked ok. I'll toss a breakpoint in there to verify a bit more confidently today before I merge this.

@UnityAlex
Copy link
Collaborator Author

After using a breakpoint to inspect I verified that the IPv6 structs (classes) need the byte swap too so I've added it in.

@UnityAlex UnityAlex merged commit fe06630 into unity-master Aug 1, 2019
@UnityAlex UnityAlex deleted the fix-windows-tcp-portnumbers branch August 1, 2019 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants