[CLUE-Tech] Sockets and http question

David Anselmi anselmi at americanisp.net
Sun Dec 29 17:28:02 MST 2002


Sean LeBlanc wrote:
> Does anyone have much experience with sockets and http? I'm having some
> difficulties trying to figure out why my connection just hangs, but only on
> certain sites.
> 
> I can include the test code I'm using, if anyone thinks they might be able
> to help. This is in C++, but it might be more of a http protocol problem.

You can use ethereal to capture a session from your code and one from a 
browser to the same site (maybe lynx will make a cleaner capture).  Then 
you can compare the sessions and see what's different.

I could look at the code (I'm curious what it does) but I'm no expert on 
C or C++.  For http, is there a library you can use to do all the 
protocol stuff?  Perl et. al. have that, it's a shame if you have to 
write your own.

Dave




More information about the clue-tech mailing list