...
This commit is contained in:
parent
1ac47406c1
commit
fafb24235f
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ int cli_ConnectTo(Client* cli,char * pAdresse,unsigned short Port,int webAdresse
|
|||
cli->wPort=Port;
|
||||
cli->adAddr.sin_port = htons(cli->wPort);
|
||||
|
||||
if (cli->sSocket == SOCKET_ERROR)
|
||||
return -2;
|
||||
|
||||
if (webAdresse) //Fall es sich um eine Internet Adresse Handelt
|
||||
return -1;
|
||||
|
|
Loading…
Add table
Reference in a new issue