well this is my log from the connection try:
Network started, wait for 1 second
SOCKET = -805196024
Error at connect() - socket error #10060
I'm not sure.. but I think that the socket shouldn't have that value
well.. I figured the socket can't be wrong, xuz then I would get a INVALID_SOCKET return. So I started rereading all the docs for like the 100 time.. and then at the bottom it was a liitle notes on the lib files.. so I checked my lib files
and discoverd I was linking with xonlines.lib so I tested changing to xonline.lib and now it works! But now I get another problem.. I don't recive anything my log looks like:
and goes on like that and fills the log with 17MB of data! It would have been more if haven't shutdown the power.
so somethings real wrong in here:
int rr = 1;
rr = recv(sock, aa, 500, 0);
debug("recv: ", aa);
Ops.. find my first error in the code:
debug("recv: ", aa); should be debug("recv: %s", aa);
and then I tried removing the while loop
but then I just get some strange symbols back..
and the recv() functions take like a minute to execute also.. while the send() takes like a second
just found out it most be some socket error..
trying to fix it now..
just found the error.. I just typed wrong in the send() function
oh well.. now it worls This post has been edited by dXtr333: Feb 21 2004, 05:08 PM