Re: getsockopt function failes

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Semion Beriy (semionb_at_yandex.ru)
Date: 06/02/04


Date: Wed, 2 Jun 2004 08:28:06 +0200

Thank you for reply.

I tried ths same code on "iPaq 3630", "Cassiopeia E-200", "Toshiba e740" -
all
are WinCE 3.0 different manufactures, and on all of them the function
failed.
But on "Mio 558" with WinCE 4.2 it works.
So I guess, the problem is in Platform Builder CE 3.0
I tried to find the implimentation code, but did not succeeded :(

Regards.

"Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument_no_spam.com> wrote in
message news:%232b5Q6$REHA.2496@TK2MSFTNGP11.phx.gbl...
> Not a bug, probably, but something which is unimplemented. I don't recall
> that option specifically, but there are several which don't exist in 3.0.
>
> Paul T.
>
> "Semion Beriy" <semionb@yandex.ru> wrote in message
> news:%23LW1zCjREHA.1564@TK2MSFTNGP10.phx.gbl...
> > Hello everybody.
> > I need to send something from PocketPC to network using UDP.
> > When I try to check and change length of buffers for send and recieve
> > packets
> > with functions "getsockopt" and "setsockopt" in WinCE 3.0 these
functions
> > fail,
> > and "WSAGetLastError()" returns 10042 - WSAENOPROTOPT.
> > In the file "Winerror.h" I find it's mean unknown, invalid or
unsupported
> > option
> > in getsockoption() or setsockoption() call.
> > But in the MSDN and in "Help" we see that options SO_SNDBUF and
SO_RCVBUF
> > are supported for these functions.
> > We run the same code on WinCE 4 and it works.
> > May be it's any bug in WinCE 3.0?
> >
> > Thanks.
> >
> >
>
>



Relevant Pages