Search:

Type: Posts; User: blake_

Search: Search took 0.01 seconds.

  1. Replies
    36
    Views
    10,352

    Thanks for the response Cactus_Hugger.. Yes it...

    Thanks for the response Cactus_Hugger.. Yes it is in fact chunked and your response helps me understand more of my problem which I was looking for.. Thanks to the guys for the help on cleaning up my...
  2. Replies
    36
    Views
    10,352

    Thanks for the info but I'll show you what...

    Thanks for the info but I'll show you what usually happens when I dump the html source into a text file...

    Original Line: <td><a href="index.php?showuser=387288">Villaloboos</a><br><span...
  3. Replies
    36
    Views
    10,352

    okay, it's added as you showed. now what

    okay, it's added as you showed. now what
  4. Replies
    36
    Views
    10,352

    How is your way any different then my way? ...

    How is your way any different then my way? You're pretty much just -1 by 513 which equals to 512 like I kept in my recv, so it doesnt add anything on 513 so once it hits 512 then it will add a \0 on...
  5. Replies
    36
    Views
    10,352

    int main() { WSADATA WsaDat; SOCKET...

    int main()
    {
    WSADATA WsaDat;
    SOCKET D2JSP;
    sockaddr_in D2;

    hostent* dHost;

    char *dIP, *request, dbuf[513];
    int dRecv;
  6. Replies
    36
    Views
    10,352

    ok so now what do i do so i stop getting...

    ok so now what do i do so i stop getting incomplete lines?
  7. Replies
    36
    Views
    10,352

    i dont know what you mean by dIP.. it has that...

    i dont know what you mean by dIP.. it has that same line in the examples on the winsock reference. it works just fine and for dbuf its not giving me any runtime errors so it must not be appending it...
  8. Replies
    36
    Views
    10,352

    I would like to know how any of this is incorrect...

    I would like to know how any of this is incorrect or is "buggy"...


    void dSend (int D2JSP, char* request) {

    if (send(D2JSP, request, strlen(request), 0) == SOCKET_ERROR) {
    ...
  9. Replies
    36
    Views
    10,352

    huh? Anyways, is there anyone out there that can...

    huh? Anyways, is there anyone out there that can answer my question instead of trying to correct everything I write? Clearly, this isn't solving my problem.. Thanks...
  10. Replies
    36
    Views
    10,352

    ofstream dparse ("d2jsp.txt"); do { ...

    ofstream dparse ("d2jsp.txt");
    do {
    dRecv = recv(D2JSP, dbuf, 512, 0);
    dbuf[dRecv] = '\0';

    if (dRecv == SOCKET_ERROR) {
    cout<<"Failed to recieve data...
  11. Replies
    36
    Views
    10,352

    I tried everything you guys mention.. come on...

    I tried everything you guys mention.. come on now.. why would I ask for help and not take your suggestions.. if they worked then i wouldnt be here but they don't so i need help on why i keep getting...
  12. Replies
    36
    Views
    10,352

    bump

    bump
  13. Replies
    36
    Views
    10,352

    I'm not sure why.. I never really thought about...

    I'm not sure why.. I never really thought about it, and I'm new to all of this so I just stick to the examples and thats what it shows.. I'll change it though and see what happens...

    It's just...
  14. Replies
    36
    Views
    10,352

    Thanks but do you have any idea for the cut lines?

    Thanks but do you have any idea for the cut lines?
  15. Replies
    36
    Views
    10,352

    #include #include #include...

    #include <iostream>
    #include <string>
    #include <fstream>
    #include <stdio.h>
    #include <string.h>
    #include <winsock.h>

    using namespace std;

    void stopic (void);
  16. Replies
    36
    Views
    10,352

    Yeah of course.. It's in a loop.. for...

    Yeah of course.. It's in a loop..


    for (;recv(FORUM, dbuf, 512, 0) > 0;) { write << dbuf; }

    It's not just the forum page either.. It's any website where it cuts off lines... So I really need...
  17. Replies
    36
    Views
    10,352

    Winsock HTML Page Source Dump...

    So, I have the basic socket where it connects to a webpage, and dumps the page source into a text document so I can check if there is new posts on a forum. But I always never get it the way it shows...
Results 1 to 17 of 17