version 1.26.2.1, 2015/06/24 22:27:58
|
version 1.26.2.2, 2015/06/24 22:39:32
|
Line 1579 rpc_srv_initServer(u_char InstID, int concurentClients
|
Line 1579 rpc_srv_initServer(u_char InstID, int concurentClients
|
rpc_SetErr(EINVAL, "Invalid parameters can`t init RPC server"); |
rpc_SetErr(EINVAL, "Invalid parameters can`t init RPC server"); |
return NULL; |
return NULL; |
} |
} |
if (!e_gethostbyname(csHost, Port, &sa)) |
|
return NULL; |
|
if (!Port) |
if (!Port) |
Port = RPC_DEFPORT; |
Port = RPC_DEFPORT; |
|
if (!e_gethostbyname(csHost, Port, &sa)) |
|
return NULL; |
if (!proto) |
if (!proto) |
proto = SOCK_STREAM; |
proto = SOCK_STREAM; |
if (netBuf < RPC_MIN_BUFSIZ) |
if (netBuf < RPC_MIN_BUFSIZ) |