version 1.34, 2019/06/28 13:35:03 |
version 1.35, 2022/01/28 06:18:41 |
|
|
|
|
/* |
/* |
* For future compatibility we check to see if the server |
* For future compatibility we check to see if the server |
* sent it's version number to us. If it did, we use it, |
* sent its version number to us. If it did, we use it, |
* otherwise, we send our version number to the server and let |
* otherwise, we send our version number to the server and let |
* it decide if it can handle our protocol version. |
* it decide if it can handle our protocol version. |
*/ |
*/ |
|
|
return(0); |
return(0); |
} else { |
} else { |
/* |
/* |
* The server sent it's version number to us |
* The server sent its version number to us |
*/ |
*/ |
int proto_version = atoi(&respbuff[1]); |
int proto_version = atoi(&respbuff[1]); |
if (proto_version != VERSION) { |
if (proto_version != VERSION) { |