src/lib/xmmssocket/socket_win32.c File Reference

#include "xmmsc/xmmsc_sockets.h"

Go to the source code of this file.

Functions

int xmms_sockets_initialize ()
int xmms_socket_set_nonblock (xmms_socket_t socket)
 Tries to set socket to non-blocking mode.
int xmms_socket_valid (xmms_socket_t socket)
void xmms_socket_close (xmms_socket_t socket)
int xmms_socket_errno ()


Function Documentation

void xmms_socket_close ( xmms_socket_t  socket  ) 

Definition at line 35 of file socket_win32.c.

int xmms_socket_errno ( void   ) 

Definition at line 39 of file socket_win32.c.

Referenced by xmms_socket_error_recoverable().

int xmms_socket_set_nonblock ( xmms_socket_t  socket  ) 

Tries to set socket to non-blocking mode.

Parameters:
socket Socket to make non-blocking. On success, returns 1. On failure, closes socket and returns 0.

Definition at line 18 of file socket_win32.c.

Referenced by xmms_ipc_tcp_accept(), xmms_ipc_tcp_client_init(), and xmms_ipc_tcp_server_init().

int xmms_socket_valid ( xmms_socket_t  socket  ) 

int xmms_sockets_initialize ( void   ) 

Definition at line 3 of file socket_win32.c.

Referenced by xmms_ipc_tcp_client_init(), and xmms_ipc_tcp_server_init().


Generated on Wed Dec 10 18:06:45 2008 for XMMS2 by  doxygen 1.5.6