Networking Forums

Networking Forums > Computer Networking > Linux Networking > socket problem

Reply
Thread Tools Display Modes

socket problem

 
 
Charles
Guest
Posts: n/a

 
      11-09-2003, 08:46 PM
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
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Socket Shutdown problem Valerie Hough Windows Networking 0 11-10-2006 09:17 AM
Socket Progamming Problem Dan N Linux Networking 0 04-13-2006 09:14 AM
Socket problem Honjo Windows Networking 0 02-29-2004 11:48 PM
Linux Socket Problem? LaBird Linux Networking 2 02-23-2004 07:04 AM
TCPIP Socket problem ddriver@rrcol.com Windows Networking 1 12-11-2003 01:26 PM



1 2 3 4 5 6 7 8 9 10 11