|
||||||||
|
|
#1
|
|
Hey everyone,
I am doing an image server project. The image format is *ppm(Portable Pixel map). When client request a image to server, server store a iamge into a data structure ,called pixarray. The pixarray contains entire image info. How can I write it to socket and client read it from socket by using write() and read()? Because I could only handle text under the argument of socket functions read(int client_sock,char* text, int size) and write(int server_sock,char* text, int size). Thanks, --Charles Charles |
![]() |
| Tags |
| problem, socket |
| Thread Tools | |
| Display Modes | |
|
|