Jaclyn came over after work. Then we went to see The Pledge at the Palace in Downtown Fort Worth with Mike, Lisa, Sean, and Allison. I just dropped Jaclyn off at her car and am getting ready to drive out to Dallas to hang out with Brad and Gwen at Insomnias.
Posts on ‘January 19th, 2001’
I am a C++ masta… well… not really
I debugged C++ code last night. Go me!
The problem was this:
int client_len;
/* code code code */
accept(SOCK_STREAM, (struct sockaddr *) &CLIENT_ADDR, &client_len);
The fix, was to declare client_len like this:
socklen_t client_len;
The funny thing, was that, if I took out all the C++ code, and compiled it as C code, the thing would work just fine with client_len [...]