-
Notifications
You must be signed in to change notification settings - Fork 3
Conversation
include/socket.hpp
Outdated
* @param {callable} _fn Some callable that writes using socket descriptor. | ||
* @param {int} _sockfd Descriptor representing a socket. | ||
* @param {string} _msg Msg to write on _sockfd. | ||
* @param {_______} args Flags, destination sockaddr objects and their lengths. !!Improve This!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_____ = parameter_pack
include/socket.hpp
Outdated
* @param {callable} _fn Some callable that reads using socket descriptor. | ||
* @param {int} _sockfd Descriptor representing a socket. | ||
* @param {string} _str String to store the data. | ||
* @param {_______} args Flags, destination sockaddr objects and their lengths. !!Improve This!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_____ = parameter_pack
@@ -9,6 +9,11 @@ | |||
|
|||
namespace net { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please format with clang-format
.
include/socket.hpp
Outdated
void connect(const char[], const int = 0, bool * = nullptr); | ||
|
||
/** @method connect | ||
* @access public | ||
* Connects net::Socket to _______ if successful else throws runtime_error exception. !!Improve This!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_______ = ipv4 peer
include/socket.hpp
Outdated
|
||
/** @method connect | ||
* @access public | ||
* Connects net::Socket to _______ if successful else throws runtime_error exception. !!Improve This!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_______ = ipv6 peer
include/socket.hpp
Outdated
|
||
/** @method connect | ||
* @access public | ||
* Connects net::Socket to _______ if successful else throws runtime_error exception. !!Improve This!! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
_______ = unix socket peer
include/socket.hpp
Outdated
* Shutdown Socket using net::SF::shut. | ||
* | ||
* @param {net::SF::shut} s Option specifying which side of connection to shutdown for Socket. | ||
*/ | ||
void stop(SF::shut s) const noexcept |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please make it _s
instead of s
both in documentation and function definition.
include/socket.hpp
Outdated
* Set a socket option from net::SF::opt for Socket using object of type net::SF::sockOpt. | ||
* | ||
* @param {net::SF::opt} _opType Option to set for Socket. | ||
* @param {net::SF::sockOpt} _opValue ___________ !!Improve This!!. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
___________ = socket option structure. Present inside socket_family.hpp
The commit msg was actually: Add clang formatted doc and remove all !!Improve This!! from doc |
@tkhurana96 Since no one else is working on your branch, execute this - and then execute - |
97e2044
to
433a7dd
Compare
@tkhurana96 there is |
5c89207
to
39e3e5b
Compare
But at "!!Improve This!!" sentences need to be completed.