<!-- ##### SECTION Title ##### -->
SoupSocket

<!-- ##### SECTION Short_Description ##### -->


<!-- ##### SECTION Long_Description ##### -->
<para>

</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>

<!-- ##### MACRO SOUP_SOCKET_FLAG_NONBLOCKING ##### -->
<para>

</para>



<!-- ##### MACRO SOUP_SOCKET_FLAG_NODELAY ##### -->
<para>

</para>



<!-- ##### MACRO SOUP_SOCKET_FLAG_REUSEADDR ##### -->
<para>

</para>



<!-- ##### MACRO SOUP_SOCKET_IS_SERVER ##### -->
<para>

</para>



<!-- ##### MACRO SOUP_SOCKET_SSL_CREDENTIALS ##### -->
<para>

</para>



<!-- ##### FUNCTION soup_socket_new ##### -->
<para>

</para>

@optname1: 
@Varargs: 
@Returns: 


<!-- ##### FUNCTION soup_socket_connect ##### -->
<para>

</para>

@sock: 
@remote_addr: 
@Returns: 
<!-- # Unused Parameters # -->
@rem_addr: 


<!-- ##### FUNCTION soup_socket_listen ##### -->
<para>

</para>

@sock: 
@local_addr: 
@Returns: 


<!-- ##### FUNCTION soup_socket_start_ssl ##### -->
<para>

</para>

@sock: 
@Returns: 


<!-- ##### FUNCTION soup_socket_disconnect ##### -->
<para>

</para>

@sock: 


<!-- ##### FUNCTION soup_socket_is_connected ##### -->
<para>

</para>

@sock: 
@Returns: 


<!-- ##### USER_FUNCTION SoupSocketCallback ##### -->
<para>
The callback function passed to soup_socket_client_new_async().
</para>

@sock: the #SoupSocket
@status: an HTTP status code indicating success or failure
@user_data: 
<!-- # Unused Parameters # -->
@data: the data passed to soup_socket_client_new_async()


<!-- ##### USER_FUNCTION SoupSocketListenerCallback ##### -->
<para>
The callback function passed to soup_socket_server_new(), which
receives new connections.
</para>

@listener: the listening #SoupSocket
@sock: the newly-received #SoupSocket
@user_data: the data passed to soup_socket_server_new().


<!-- ##### FUNCTION soup_socket_client_new_async ##### -->
<para>

</para>

@hostname: 
@port: 
@ssl_creds: 
@callback: 
@user_data: 
@Returns: 


<!-- ##### FUNCTION soup_socket_client_new_sync ##### -->
<para>

</para>

@hostname: 
@port: 
@ssl_creds: 
@status_ret: 
@Returns: 
<!-- # Unused Parameters # -->
@status: 


<!-- ##### FUNCTION soup_socket_server_new ##### -->
<para>

</para>

@local_addr: 
@ssl_creds: 
@callback: 
@user_data: 
@Returns: 
<!-- # Unused Parameters # -->
@Param3: 


<!-- ##### FUNCTION soup_socket_get_local_address ##### -->
<para>

</para>

@sock: 
@Returns: 


<!-- ##### FUNCTION soup_socket_get_remote_address ##### -->
<para>

</para>

@sock: 
@Returns: 


<!-- ##### ENUM SoupSocketIOStatus ##### -->
<para>
Return value from the #SoupSocket IO methods.
</para>

@SOUP_SOCKET_OK: Success
@SOUP_SOCKET_WOULD_BLOCK: Cannot read/write any more at this time
@SOUP_SOCKET_EOF: End of file
@SOUP_SOCKET_ERROR: Other error

<!-- ##### FUNCTION soup_socket_read ##### -->
<para>

</para>

@sock: 
@buffer: 
@len: 
@nread: 
@Returns: 


<!-- ##### FUNCTION soup_socket_read_until ##### -->
<para>

</para>

@sock: 
@buffer: 
@len: 
@boundary: 
@boundary_len: 
@nread: 
@got_boundary: 
@Returns: 


<!-- ##### FUNCTION soup_socket_write ##### -->
<para>

</para>

@sock: 
@buffer: 
@len: 
@nwrote: 
@Returns: 


