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

New input about the socket problem #34

Open
AndersMalmgren opened this issue Sep 4, 2011 · 1 comment
Open

New input about the socket problem #34

AndersMalmgren opened this issue Sep 4, 2011 · 1 comment

Comments

@AndersMalmgren
Copy link
Contributor

After increase of timeout I do not receive socket timeoutes anymore, but sometimes I get this error, and it only sometimes, sometimes I can fly 100s of meters away from drone without problems..

The error is always on port 5556 (Command port)

System.Net.Sockets.SocketException (0x80004005): The requested address is not valid in its context
at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)
at System.Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes, IPEndPoint endPoint)
at ARDrone.Control.Network.UdpWorker.SendMessage(Byte[] message) in C:\Users\ama\Documents\Projekt\Anders.ARDrone\ARDroneControlLibrary\Network\UdpWorker.cs:line 75
2011-09-04 16:00:44,768 [ARDrone.Control.Workers.CommandSender_WorkerThread] ERROR ProcessThreadedException
System.Net.Sockets.SocketException (0x80004005): The requested address is not valid in its context
at System.Net.Sockets.Socket.SendTo(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags, EndPoint remoteEP)
at System.Net.Sockets.UdpClient.Send(Byte[] dgram, Int32 bytes, IPEndPoint endPoint)
at ARDrone.Control.Network.UdpWorker.SendMessage(Byte[] message) in C:\Users\ama\Documents\Projekt\Anders.ARDrone\ARDroneControlLibrary\Network\UdpWorker.cs:line 80
at ARDrone.Control.Network.UdpWorker.SendMessage(String message) in C:\Users\ama\Documents\Projekt\Anders.ARDrone\ARDroneControlLibrary\Network\UdpWorker.cs:line 68
at ARDrone.Control.Workers.CommandSender.ProcessWorkerThread() in C:\Users\ama\Documents\Projekt\Anders.ARDrone\ARDroneControlLibrary\Workers\CommandSender.cs:line 76
at ARDrone.Control.Network.NetworkWorker.ProcessWorkerThreadInternally() in C:\Users\ama\Documents\Projekt\Anders.ARDrone\ARDroneControlLibrary\Network\NetworkWorker.cs:line 104

@shtejv
Copy link
Owner

shtejv commented Mar 4, 2012

Thanks a lot. I'll use that information to try to recreate the problem.

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

No branches or pull requests

2 participants