TreeviewCopyright © aleen42 all right reserved, powered by aleen42

Connect Back

  • connct to the server
  • 对同一個socket描述符不能兩次使用connect函數.
method
int connect(int sockfd, struct sockaddr *servaddr, int addrlen)
parameters
  • sockfd: socket描述符
  • servaddr: 服務器地址
  • addrlen: 地址長度
return value
  • 0: success
  • -1: failure
  • errno: wrong code
Empty Comments
Sign in GitHub

As the plugin is integrated with a code management system like GitLab or GitHub, you may have to auth with your account before leaving comments around this article.

Notice: This plugin has used Cookie to store your token with an expiration.