EDN Admin
Well-known member
I am creating a program which connects to a gaming provider called Steam. It is supposed to connect and then turn a account online. For some reason it works sometimes and sometimes I get this error. I am on a mac, using monodevelop, and have the latest mono beta build. Please help!
Error:Unhandled Exception:
System.IO.IOException: Not connected
at System.Net.Sockets.NetworkStream..ctor (System.Net.Sockets.Socket socket, FileAccess access, Boolean owns_socket) [0x0003e] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.3/_build/mono-3.0.3.git/mcs/class/System/System.Net.Sockets/NetworkStream.cs:71
at System.Net.Sockets.NetworkStream..ctor (System.Net.Sockets.Socket socket, Boolean owns_socket) [0x00000] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.3/_build/mono-3.0.3.git/mcs/class/System/System.Net.Sockets/NetworkStream.cs:55
at (wrapper remoting-invoke-with-check) System.Net.Sockets.NetworkStream:.ctor (System.Net.Sockets.Socket,bool)
at SteamKit2.TcpConnection.ConnectCompleted (System.Object sender, System.Net.Sockets.SocketAsyncEventArgs e) [0x00079] in /Users/mac/SteamBot/Lib/SteamKit2/SteamKit2/Networking/Steam3/TcpConnection.cs:77
at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs e) [0x00014] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.3/_build/mono-3.0.3.git/mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs:195
at System.Net.Sockets.SocketAsyncEventArgs.ConnectCallback () [0x0001b] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.3/_build/mono-3.0.3.git/mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs:282
at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (IAsyncResult ares) [0x000aa] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.3/_build/mono-3.0.3.git/mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs:254
View the full article
Error:Unhandled Exception:
System.IO.IOException: Not connected
at System.Net.Sockets.NetworkStream..ctor (System.Net.Sockets.Socket socket, FileAccess access, Boolean owns_socket) [0x0003e] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.3/_build/mono-3.0.3.git/mcs/class/System/System.Net.Sockets/NetworkStream.cs:71
at System.Net.Sockets.NetworkStream..ctor (System.Net.Sockets.Socket socket, Boolean owns_socket) [0x00000] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.3/_build/mono-3.0.3.git/mcs/class/System/System.Net.Sockets/NetworkStream.cs:55
at (wrapper remoting-invoke-with-check) System.Net.Sockets.NetworkStream:.ctor (System.Net.Sockets.Socket,bool)
at SteamKit2.TcpConnection.ConnectCompleted (System.Object sender, System.Net.Sockets.SocketAsyncEventArgs e) [0x00079] in /Users/mac/SteamBot/Lib/SteamKit2/SteamKit2/Networking/Steam3/TcpConnection.cs:77
at System.Net.Sockets.SocketAsyncEventArgs.OnCompleted (System.Net.Sockets.SocketAsyncEventArgs e) [0x00014] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.3/_build/mono-3.0.3.git/mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs:195
at System.Net.Sockets.SocketAsyncEventArgs.ConnectCallback () [0x0001b] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.3/_build/mono-3.0.3.git/mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs:282
at System.Net.Sockets.SocketAsyncEventArgs.DispatcherCB (IAsyncResult ares) [0x000aa] in /private/tmp/source/bockbuild/profiles/mono-mac-release/build-root/mono-3.0.3/_build/mono-3.0.3.git/mcs/class/System/System.Net.Sockets/SocketAsyncEventArgs.cs:254
View the full article