Re: Weird Socket issues
From: Ian Frawley (chocks_at_away.com)
Date: 12/13/04
- Next message: Rachel Suddeth: "Re: Abstract Base form - can I fake it?"
- Previous message: Nigel Armstrong: "RE: RichTextBox"
- In reply to: Nicholas Paldino [.NET/C# MVP]: "Re: Weird Socket issues"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 13 Dec 2004 15:55:54 -0000
"Nicholas Paldino [.NET/C# MVP]" wrote in message
Yes it seems that, that was the case.
Thanks
Ian
> Ian,
>
> Is it possible that the server you are connecting to is dropping the
> connection? It would seem that is the case, from the message in the inner
> exception.
>
> Hope this helps.
>
>
> --
> - Nicholas Paldino [.NET/C# MVP]
> - mvp@spam.guard.caspershouse.com
>
> "Ian Frawley" <chocks@away.com> wrote in message
> news:RDgvd.21$fd6.2447@news-1.opaltelecom.net...
> > Hi all
> >
> > I am running a standard client server socket type thing and I have
started
> > getting this exception
> >
> > Exception: System.IO.IOException
> > Message: Unable to read data from the transport connection.
> > Source: System
> > at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset,
> > Int32 size)
> > at System.IO.StreamReader.ReadBuffer()
> > at System.IO.StreamReader.ReadLine()
> > at Opal.Requester.Locations.SocketLocation.ReadMessages(StreamReader
sr)
> > at Opal.Requester.Locations.SocketLocation.ClientConnected(Object
> > tcpClient)
> >
> > Nested Exception
> >
> > Exception: System.Net.Sockets.SocketException
> > Message: An existing connection was forcibly closed by the remote host
> > Source: System
> > at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset,
Int32
> > size, SocketFlags socketFlags)
> > at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32 offset,
> > Int32 size)
> >
> > Anyone know what cause this? I am confused.
> >
> > Ian
> > --
> > "Life should NOT be a journey to the grave
> > with the intention of arriving safely in an
> > attractive and well preserved body,
> > but rather to skid in sideways,
> > chocolate in one hand, beer in the other,
> > body thoroughly used up,
> > totally worn out and screaming
> > WOO HOO what a ride!"
> >
> >
>
>
- Next message: Rachel Suddeth: "Re: Abstract Base form - can I fake it?"
- Previous message: Nigel Armstrong: "RE: RichTextBox"
- In reply to: Nicholas Paldino [.NET/C# MVP]: "Re: Weird Socket issues"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|