Re: Weird Socket issues

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Ian Frawley (chocks_at_away.com)
Date: 12/13/04


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!"
> >
> >
>
>



Relevant Pages

  • Re: Forms authentication - change password
    ... Contact the server administrator. ... I think your authentication validation method needs to be set to ... the change password feature within ISA ... | | meant not connecting to a Global Catalog. ...
    (microsoft.public.isa)
  • Re: SBS Slow user logons problem
    ... Microsoft MVPs ... Are the workstations and Server all connecting their nics to a router? ...
    (microsoft.public.windows.server.sbs)
  • Re: SBS Slow user logons problem
    ... Microsoft MVPs ... Are the workstations and Server all connecting their nics to a router? ...
    (microsoft.public.windows.server.sbs)
  • Re: Outlook RPC over HTTP
    ... Now its checked it does not connect VPN ... In case it matters i have gone into IIS on the Server and checked the ... Proxy Setttings: ... mutually authenticate the sesssion when connecting with SSL: ...
    (microsoft.public.windows.server.sbs)
  • Re: Outlook RPC over HTTP
    ... Now its checked it does not connect VPN or otherwise. ... In case it matters i have gone into IIS on the Server and checked the server ... exchange but I think it is connecting over TCP/IP. ... Proxy Setttings: ...
    (microsoft.public.windows.server.sbs)