GUI Innovations for Innovative Solutions

CeSockets for Pocket PC

CeSockets gives the eVB developer the ability to call the Winsock API directly from eVB, without worrying about UDT’s or conversions.

CeSockets overcomes the inability of the supplied Winsock control to receive binary data, and the way in which the control sends data ‘piecemeal’. A test of CeSockets.dll, sending and receiving 512 bytes of data 8 times, was completed in less than .07 seconds. Compare this with the performance of the standard control (project included for comparison).

Overcome the limitations of the Winsock control!

CeSockets allows the eVB developer to write client/server projects using the full power of the Sockets API, AND make performance gains in your software at the same time.
Some of the complexities of the Sockets API have been encapsulated in the dll to make it easier to program. Use 'blocking' and 'non-blocking' sockets easily. For a blocking call, ‘recv’ only returns to the eVB program when it has received all the data waiting you have requested. For a non-blocking call you can just ‘recv’ what is waiting to be read.

The package includes dll’s for ARM, SH3, MIPS and x86em, as well as a demonstration eVB client, and a demonstration VB6 server. In addition, there is a Winsock version of the client, to compare the difference between the Winsock control and CeSockets.

Also included is a ‘chat’ client server sample, demonstrating the use of IRDA sockets, and allowing 2 Pocket PC programs to chat to eachother using infra-red.

If CeSockets.dll is not available for your particular Pocket PC, please contact us at support@gui-innovations.com to discuss your requirements.

Download a demonstration copy and sample applications here, or order a copy for $89.99 here.The commercial version is licensed to your company for inclusion in commercial applications, and includes 12 months support via e-mail only.

Read the article on deVBuzz, giving more details on how to use the control in the real world.

CeSockets - You will believe an application can ‘fly’!

Call the following functions directly from eVB*

  • CeWSAStartup
  • CeSocket
  • CeConnect
  • Cesend
  • Cerecv
  • Ceclosesocket
  • CeWSACleanup
  • CeWSAGetLastError
  • CeGetIpAddress
  • Cegethostbyaddr
  • Cegetpeername
  • Cegethostname
  • Cebind
  • Celisten
  • Ceaccept
  • CelistenAndaccept
  • CeSocketIRDA
  • CeConnectIRDA
  • CebindIRDA
  • CeGetLastErrorMessage
  • CeIRDADevList
  • CelistenAndacceptIRDA
  • CeGetConnectedIp

 

*Any function not listed can be called from eVB, e.g. htons, htonl.

 

Sample IRDA Chat Application

Screen Shot of Chat Server Screen Shot of Chat Client