/*********************************************************
- * Copyright (C) 2011,2014-2015 VMware, Inc. All rights reserved.
+ * Copyright (C) 2011,2014-2016 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
// Saved error reporting values.
AsyncSocketErrorFn errorFn;
void *errorClientData;
+ int webSocketError;
char *socketBuffer; // Accumulates incoming data (including framing etc.)
char *decodeBuffer; // Accumulates incoming data after removing framing
int32 socketBufferWriteOffset;
/*********************************************************
- * Copyright (C) 2003-2015 VMware, Inc. All rights reserved.
+ * Copyright (C) 2003-2016 VMware, Inc. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published
*/
const char *AsyncSocket_GetWebSocketProtocol(AsyncSocket *asock);
+/*
+ * Get error code for websocket failure
+ */
+int AsyncSocket_GetWebSocketError(AsyncSocket *asock);
+
const char * stristr(const char *s, const char *find);
/*