> I have a server and I want to send a jpeg to the client upon request. This > image is dynamic. I am using AnswerStream and that is all working great. > > Then I decided I also wanted some text to go before the image. > > I could not determine how to send text and an image with the same reply. > > So, I imbed a link to the image in a <img src=> tag and that is all > working > now. > > The client now has to make two round trips to get the complete page. One > for > the text and one for the image. > > Is this the only method to accomplish this task?
If this is to display in a web browser, then yes it is the only method. If you use HTTP as transport for your own application and you control both client and server, then you can do whatever you like at server side and do the reverse at client side. Contribute to the SSL Effort. Visit http://www.overbyte.be/eng/ssl.html -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be