2 |
// |
// |
3 |
/**************************************************************************** |
/**************************************************************************** |
4 |
liblscp - LinuxSampler Control Protocol API |
liblscp - LinuxSampler Control Protocol API |
5 |
Copyright (C) 2004, rncbc aka Rui Nuno Capela. All rights reserved. |
Copyright (C) 2004-2006, rncbc aka Rui Nuno Capela. All rights reserved. |
6 |
|
|
7 |
This library is free software; you can redistribute it and/or |
This library is free software; you can redistribute it and/or |
8 |
modify it under the terms of the GNU Lesser General Public |
modify it under the terms of the GNU Lesser General Public |
45 |
|
|
46 |
#if defined(WIN32) |
#if defined(WIN32) |
47 |
typedef SOCKET lscp_socket_t; |
typedef SOCKET lscp_socket_t; |
48 |
|
typedef int socklen_t; |
49 |
#else |
#else |
50 |
typedef int lscp_socket_t; |
typedef int lscp_socket_t; |
51 |
#define INVALID_SOCKET -1 |
#define INVALID_SOCKET -1 |