Sending BMP Files Via Winsock 
Author Message
 Sending BMP Files Via Winsock

I am trying to send BMP Files via winsock to a server using eVB and the
winsock control . On the descktop I have accomplished this by reading the
file with the Open Method using binary and / or Input and sending it
throught winsock. In eVB on a Casio E-125, I use the file component to read
the file (I have used all input file modes Binary/Input) and send the data
with winsock It will read approx 5 bytes (File Length 103407 bytes) and send
that 5 bytes to the server. After sending the 5 bytes it considers itself
finished reading the file.

On the Server End, I recieve all data as string, the client Program (eVB)
sends the file size, then sends the data read in from the file object. It
will place the data in a buffer until the buffer is the length of the file.
It then writes it out to the file.

I have been looking into the winsock API for CE and see a CEBLOB type. Does
anyone have an example or insight on how to send BMP files via winsock to a
custom server (Not using FTP), or examples of the Winsock API for CE that
will allow me to do this.

Any help is appreciated,

John Tolar

Sat, 10 May 2003 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Send File via Winsock Control

2. How to send a BMP using Winsock ??

3. Sending Array via WinSock

4. Loading Data into MultiDim Array/Sending via WinSock

5. Send userdefined type via TCP/IP (winsock)

6. sending data via winsock control

7. send and receive an array of byte via Winsock

8. Sending Variables Via the Winsock Control

9. Sending a message via Winsock control

10. Sending a message via Winsock control

11. Sending binary data via winsock control in VB5

12. Send Anonymous Email Via SMTP / Winsock


Powered by phpBB® Forum Software