File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 157
157
158
158
/*
159
159
* Previously, we allowed only one network connection at a time to each port.
160
- * In version 1.1, we allow multiple concurrent client apps to connect.
160
+ * In version 1.1, we allow multiple concurrent client apps to attach with the AGW network protocol.
161
+ * The default is a limit of 3 client applications at the same time.
162
+ * You can increase the limit by changing the line below.
163
+ * A larger number consumes more resources so don't go crazy by making it larger than needed.
161
164
*/
162
165
163
166
#define MAX_NET_CLIENTS 3
@@ -226,7 +229,7 @@ static THREAD_F cmd_listen_thread (void *arg);
226
229
227
230
#if defined(__BIG_ENDIAN__ ) || (defined(__BYTE_ORDER__ ) && defined(__ORDER_BIG_ENDIAN__ ) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ )
228
231
229
- // gcc >= 4.2 has __builtin_swap32() but be compatible with older versions.
232
+ // gcc >= 4.2 has __builtin_swap32() but might not be compatible with older versions or other compilers .
230
233
231
234
#define host2netle (x ) ( (((x)>>24)&0x000000ff) | (((x)>>8)&0x0000ff00) | (((x)<<8)&0x00ff0000) | (((x)<<24)&0xff000000) )
232
235
#define netle2host (x ) ( (((x)>>24)&0x000000ff) | (((x)>>8)&0x0000ff00) | (((x)<<8)&0x00ff0000) | (((x)<<24)&0xff000000) )
You can’t perform that action at this time.
0 commit comments