Saturday, November 26, 2016

unhandled exception: System.Net.Sockets.SocketException: An invalid argument was supplied

I came across this issue working with the nmodbus library on visual studio. I initially created the project on the local drive and it works, then I move the project to the network drive and suddenly the IDE started throwing this error. It is only after spending several hours troubleshooting without that I came to know that the project was the network drive. This solution may not be the ultimate one but if you face a similar scenerio with the same setup it may be a helpful way out...Have fun! 

No comments:

Post a Comment