~akhil011/ubuntu/wily/monit/crypto_fix

« back to all changes in this revision

Viewing changes to libmonit/src/system/Net.h

  • Committer: Package Import Robot
  • Author(s): Sergey B Kirpichev
  • Date: 2014-05-19 13:33:44 UTC
  • mfrom: (1.1.22)
  • Revision ID: package-import@ubuntu.com-20140519133344-xucbhs18wvojnsu4
Tags: 1:5.8.1-1
* Imported Upstream version 5.8.1
* Refresh patches
* Fix HURD build, broken by upstream
* Install CONTRIBUTORS file

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
int Net_abort(int socket);
122
122
 
123
123
 
 
124
 
 
125
/**
 
126
 * Shutdown a full-duplex socket connection.
 
127
 * @param socket The socket connection to shutdown
 
128
 * @param how If how is SHUT_RD, further receives will be disallowed. If how
 
129
 * is SHUT_WR, further sends will be disallowed. If how is SHUT_RDWR, further
 
130
 * sends and receives will be disallowed
 
131
 * @return true if success otherwise false
 
132
 */
 
133
int Net_shutdown(int socket, int how);
 
134
 
 
135
 
124
136
/**
125
137
 * Close a socket connection
126
138
 * @param socket The socket connection to close