B
Ben
Hello all,
I've got a fairly specific problem, and I'm hoping that somebody will
have had to do something similar in the past and can help me out.
I'm trying to write a client for a socket program in c++ to be
compiled and run on UNIX. To test it out, I have been trying to
connect to various webpages and simply print the html code to the
screen. The problem that I'm running into is that I'm butting up
against the maximum number of bytes that can be crammed into a packet.
That's to say... some of the webpages that I try to look at are too
large to fit into one packet.
Is there a way to recieve multiple packets from a server? To this
point, I have been able to connect to the server, send the request,
and do a 'recv()'. Is there a way to recieve more than one packet?
Thank you very much,
Ben
I've got a fairly specific problem, and I'm hoping that somebody will
have had to do something similar in the past and can help me out.
I'm trying to write a client for a socket program in c++ to be
compiled and run on UNIX. To test it out, I have been trying to
connect to various webpages and simply print the html code to the
screen. The problem that I'm running into is that I'm butting up
against the maximum number of bytes that can be crammed into a packet.
That's to say... some of the webpages that I try to look at are too
large to fit into one packet.
Is there a way to recieve multiple packets from a server? To this
point, I have been able to connect to the server, send the request,
and do a 'recv()'. Is there a way to recieve more than one packet?
Thank you very much,
Ben