Hello all... I am currently workning on a video streaming server/client using the socket interface in C. Before I start writing the code I would like to have some help from network programmers "since I am more of an image/video processing programmer." Since I am looking for extreme efficiency and speed when sending the frames I am using a UDP socket, which are some recomendations I should follow? For example, If i want to send a compressed file to the client, what I would do "and this is where I want you to correct me" is that I would open the compressed file containing the compressed video frames, then I would write its context into a buffer using fwrite(), and then I would send the buffer using sendto(SOCKET s, buffer, .... etc) Now, I found that a UDP socket s wont let me send files larger than certain size "correct me if i am wrong," so I need to send fractions of the buffer at a time "ex. 200 characters at a time," but I think this would compromise the speed of the server. I would really appreciate any better suggestion. I will be considering multithreded alternatives also. Also, if you know of a better mailing list where I can send this question please send it to me. If you need further details of any kind let me know, I dont want to write any code and then realize I am using technolody from the 1960's.
Thanks a lot Roberto Armenteros. __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
