Thats what I thought, so via removing the need to send port1 as an argument, since it is never used it would remove the problem. However I still cannot work out why it would do this
Type: Posts; User: Freaky Chris
Thats what I thought, so via removing the need to send port1 as an argument, since it is never used it would remove the problem. However I still cannot work out why it would do this
Well you don't even use the port1 integer you are trying to pass anyway, so one solution would be to remove it from the function call and the function prototype. Then re-run and see if you are still...
Even playing with IP address etc I cannot get the erro, or any outputs. Could you print screen the output?
try changing
int port1; to
int port1 = 0; shouldn't make a difference for the error you are getting but always need to be sure.
PS Please post the server and client, that way we can complie...