Changes

179 bytes added ,  18:48, 5 April 2015
Added SOAccept
Line 21: Line 21:     
===Networking===
 
===Networking===
These are also available under their standard BSD names (connect(), recv(), send(), etc.), without the SO_* prefix.
+
These are also available under their standard BSD names (connect(), recv(), send(), etc.), without the SO* prefix.
 
{| class="wikitable"
 
{| class="wikitable"
 
!Name
 
!Name
Line 30: Line 30:  
|SOConnect
 
|SOConnect
 
|<code>int SOConnect(int fd, struct sockaddr *addr, int addrlen);</code>  
 
|<code>int SOConnect(int fd, struct sockaddr *addr, int addrlen);</code>  
|Connects to the defined target
+
|Initializes/Accepts connection requests from listing
|SO_*
+
|A new socket descriptor???
 
|-
 
|-
 
|SOListen
 
|SOListen
 
|<code>int SOListen(int fd, int backlog);</code>  
 
|<code>int SOListen(int fd, int backlog);</code>  
 
|Listens for connections
 
|Listens for connections
 +
|SO_*
 +
|-
 +
|SOAccept
 +
|<code>int SOAccept(int fd, struct sockaddr *addr, int *addrlen);</code>
 +
|Same as SOSend but with target specified
 
|SO_*
 
|SO_*
 
|-
 
|-
91

edits