socket.Connect failure
#1
Posted 29 January 2011 - 10:52 PM
#2
Posted 29 January 2011 - 10:57 PM
#3
Posted 29 January 2011 - 11:22 PM
#4
Posted 29 January 2011 - 11:45 PM
#5
Posted 30 January 2011 - 12:24 AM
#6
Posted 30 January 2011 - 01:01 AM
When I reconfigure it to use a static IP I can't ping it anymore, even after changing it to several different one (after checking if they weren't taken of course). Even giving it the IP that it had been assigned using DHCP while it hadn't been released it still didn't work.
If you configure as static IP and can't ping it anymore, then that's a more general network-related issue (i.e. the router doesn't support static IP clients or there's an address conflict or the gateway/subnet mask are wrong, etc.)
Go back to where you can ping your device, and try running Microsoft's SocketClient sample. That should download a page from the Microsoft website.
Chris
#7
Posted 30 January 2011 - 01:54 AM
I wholeheartedly agree. I just spent too much time chasing my tail, and it was nothing with the NEtduino or the programming, just a router issue ! And my key was when I couldn't ping the board!If you configure as static IP and can't ping it anymore, then that's a more general network-related issue (i.e. the router doesn't support static IP clients or there's an address conflict or the gateway/subnet mask are wrong, etc.)
Go back to where you can ping your device, and try running Microsoft's SocketClient sample. That should download a page from the Microsoft website.
Chris
#8
Posted 30 January 2011 - 02:16 AM
#9
Posted 30 January 2011 - 11:07 AM
My router problem was based on sheer ignorance, followed by uninformed tweaking! I solved a multitude of home problems when I did a lot of reading, and eliminated my tweaking. If you failed without the router, one of the many real experts will surely help you. This board has good depth in experience.If it is the router, how do I proceed?
EDIT: Initial test without the router failed as well.
#10
Posted 31 January 2011 - 01:51 AM
#11
Posted 31 January 2011 - 02:04 AM
After enough messing around I got it to work using the SocketServer example at least, I'm not even sure exactly what I did though.
Very good news. That means your hardware appears to be working properly. Now to get your socket client project running...
Chris
#12
Posted 31 January 2011 - 04:04 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users