Access to sockets out of the CE device driver

From: Ilya Faenson (ifaenson_at_hotmail.com)
Date: 08/26/04


Date: 25 Aug 2004 17:30:26 -0700

Whould anybody know whether it's possible to use the WinSock out of
the CE streams driver, i.e in the device.exe context? I'm calling
the WSAStartup() et al upon an interactive application request, so
the WinSock has long been initialized by then. The driver does link
against the ws2.lib statically though. Any soul doing something similar?

What I'm seeing is the success for the socket(), bind(), setsockopt()s
and the sendto() calls, but no packets leave the iPAQ. There should be
no ARP/routing issues to speak of. It is the UDP (SOCK_DGRAM) socket on
the Windows Mobile 2003 if that matters.

Many thanks,
Ilya Faenson



Relevant Pages

  • RE: [Microsoft][SQLServer 2000 Driver for JDBC]net dll not initi
    ... application's startup to start using Winsock calls. ... Can you try opening a socket directly when this happens to confirm? ... Successive calls to get a connection from the ... (WSAStartup): socket write error ...
    (microsoft.public.sqlserver.jdbcdriver)
  • Re: help me with my understanding of WSPRecv/From
    ... WinSock has some MS-specific functions to employ the NT ... WinSock has a common provider DLL called MSAFD.DLL. ... AFD.SYS is a kernel module which implements the sockets semantics on top of ... This will give you lots of socket stuff, ...
    (microsoft.public.development.device.drivers)
  • Re: help me with my understanding of WSPRecv/From
    ... WinSock has some MS-specific functions to employ the NT ... WinSock has a common provider DLL called MSAFD.DLL. ... AFD.SYS is a kernel module which implements the sockets semantics on top of ... This will give you lots of socket stuff, ...
    (microsoft.public.win32.programmer.kernel)
  • Re: help me with my understanding of WSPRecv/From
    ... WinSock has some MS-specific functions to employ the NT ... WinSock has a common provider DLL called MSAFD.DLL. ... AFD.SYS is a kernel module which implements the sockets semantics on top of ... This will give you lots of socket stuff, ...
    (microsoft.public.win32.programmer.networks)
  • Re: Win Sock
    ... Something That Is Not a Socket" message. ... Then, instead of running NETSH to reset TCP/IP, he suggested reinstalling ... Open the properties window of the network connection (Local Area ... WinSock Fix ...
    (microsoft.public.windowsxp.newusers)