Changes

310 bytes added ,  11:25, 11 January 2017
no edit summary
Line 79: Line 79:  
: Sets address (self or peer) of the socket. The <code>flags</code> may contain <code>SOCCR_MEM_EXCL</code>.
 
: Sets address (self or peer) of the socket. The <code>flags</code> may contain <code>SOCCR_MEM_EXCL</code>.
    +
== Flags ==
 +
Here are the flags, that are accepted by various calls.
 +
 +
; <code>SOCCR_MEM_EXCL</code>
 +
: This flag means that the memory buffer set or get by the call is managed and should be freed by the recipient, i.e. when set the libsoccr will free() it, when get libsoccr won't do it expecting the caller to.
    
[[Category: Sub-projects]]
 
[[Category: Sub-projects]]
 
[[Category: Sockets]]
 
[[Category: Sockets]]