Skip to content

Commit 785c8de

Browse files
committed
Minor documentation updates.
1 parent 6be16ab commit 785c8de

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

doc/User-Guide.pdf

7.88 KB
Binary file not shown.

server.c

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,10 @@
157157

158158
/*
159159
* 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.
161164
*/
162165

163166
#define MAX_NET_CLIENTS 3
@@ -226,7 +229,7 @@ static THREAD_F cmd_listen_thread (void *arg);
226229

227230
#if defined(__BIG_ENDIAN__) || (defined(__BYTE_ORDER__) && defined(__ORDER_BIG_ENDIAN__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__)
228231

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.
230233

231234
#define host2netle(x) ( (((x)>>24)&0x000000ff) | (((x)>>8)&0x0000ff00) | (((x)<<8)&0x00ff0000) | (((x)<<24)&0xff000000) )
232235
#define netle2host(x) ( (((x)>>24)&0x000000ff) | (((x)>>8)&0x0000ff00) | (((x)<<8)&0x00ff0000) | (((x)<<24)&0xff000000) )

0 commit comments

Comments
 (0)