[vtk-developers] Bad receive in vtkSocketCommunicator on Win32
Moreland, Kenneth
kmorel at sandia.gov
Wed Apr 13 18:37:54 EDT 2005
Microsoft Windows XP Profession Version 2002, Service Pack 1.
-Ken
> -----Original Message-----
> From: Jeff Lee [mailto:jeff at cdnorthamerica.com]
> Sent: Wednesday, April 13, 2005 2:45 PM
> To: Moreland, Kenneth
> Cc: Berk Geveci; vtk-developers at vtk.org
> Subject: Re: [vtk-developers] Bad receive in
> vtkSocketCommunicator on Win32
>
> Hi Kenneth,
> What version of windows?
> -J
>
> Moreland, Kenneth wrote:
>
> >That sounds reasonable. I'm not sure how many times I need
> to try, but
> >so far experimentally it doesn't seem like that many.
> >
> >-Ken
> >
> >
> >
> >>-----Original Message-----
> >>From: Berk Geveci [mailto:berk.geveci at gmail.com]
> >>Sent: Wednesday, April 13, 2005 1:45 PM
> >>To: Moreland, Kenneth
> >>Cc: vtk-developers at vtk.org
> >>Subject: Re: [vtk-developers] Bad receive in
> vtkSocketCommunicator on
> >>Win32
> >>
> >>Maybe there should be a max number of tries to avoid
> infinite loops?
> >>
> >>On 4/13/05, Moreland, Kenneth <kmorel at sandia.gov> wrote:
> >>
> >>
> >>>I've noticed a problem with vtkSocketCommunicator on
> windows. When
> >>>receiving a large message that should otherwise succeed (tags and
> >>>lengths match up, buffer properly allocated), the recv
> >>>
> >>>
> >>function still
> >>
> >>
> >>>sometimes fails. Checking the error returned from
> >>>
> >>>
> >>WSAGetLastError()
> >>
> >>
> >>>reveals the error WSAENOBUFS (apparently some sort of resource
> >>>allocation problem).
> >>>
> >>>I discovered that when I get this error, if I simply retry
> >>>
> >>>
> >>the recv,
> >>
> >>
> >>>it will eventually work (at least in my case). Should I patch
> >>>vtkSocketCommunicator.cxx to always do this on windows?
> >>>
> >>>-Ken
> >>>
> >>> **** Kenneth Moreland
> >>> *** Sandia National Laboratories
> >>>***********
> >>>*** *** *** email: kmorel at sandia.gov
> >>>** *** ** phone: (505) 844-8919
> >>> *** fax: (505) 845-0833
> >>>
> >>>_______________________________________________
> >>>vtk-developers mailing list
> >>>vtk-developers at vtk.org
> >>>http://www.vtk.org/mailman/listinfo/vtk-developers
> >>>
> >>>
> >>>
> >>
> >>
> >
> >_______________________________________________
> >vtk-developers mailing list
> >vtk-developers at vtk.org
> >http://www.vtk.org/mailman/listinfo/vtk-developers
> >
> >
> >
> >
>
>
More information about the vtk-developers
mailing list