Connecct to a yrmcds server.
- Parameters
-
c | A pointer to yrmcds_cnt. |
node | The server name. |
port | TCP port number of the server (normally 11215). |
- Returns
- 0 if connected successfully. Other values indicate an error.
This function connects to a yrmcds server and initializes c
. TCP_NODELAY flag will be set for the returned socket.