Skip to content

Pulling Changes #1

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

Merged
merged 5 commits into from
Nov 15, 2019
Merged

Pulling Changes #1

merged 5 commits into from
Nov 15, 2019

Conversation

kdurkin77
Copy link
Owner

Pulling changes

mattzink and others added 5 commits September 16, 2019 01:26
Without this fix, asynchronous requests to an IPv6 address fail with:
```
 - Exception
   - Message: The supplied EndPoint of AddressFamily InterNetwork is not valid for this Socket, use InterNetworkV6 instead. Parameter name: RemoteEndPoint
   - Type:    System.ArgumentException
   - Stack:      at bool System.Net.Sockets.Socket.ReceiveMessageFromAsync(SocketAsyncEventArgs e)
                 at SocketAwaitable Lextm.SharpSnmpLib.Messaging.SocketExtension.ReceiveMessageFromAsync(Socket socket, SocketAwaitable awaitable)
                 at async Task<ISnmpMessage> Lextm.SharpSnmpLib.Messaging.SnmpMessageExtension.GetResponseAsync(ISnmpMessage request, IPEndPoint receiver, UserRegistry registry, Socket udpSocket)
                 at async Task<ReportMessage> Lextm.SharpSnmpLib.Messaging.Discovery.GetResponseAsync(IPEndPoint receiver)
```
Update SnmpMessage.GetResponseAsync() to support IPv6
@kdurkin77 kdurkin77 merged commit 210a3be into kdurkin77:master Nov 15, 2019
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.

3 participants