Although the definition is a bit nebulous  WSJT-X is the thing providing data 
and services which makes it a server in my book.  WSJT-X knows nothing of the 
the "clients" connected to it other than the schema number.  Clients can tell 
the server to do a few things.  It's just like a real-time database.Whatever 
floats your boat as to what to call them.  I never worry about that 
terminology.  In the TCP world server is always the one accepting connections 
and client connect to them.  In UDP it's bidirectional and neither piece is 
actually required which leads to confusion.  If this protocol used TCP WSJT-X 
would definitely be the server.
Mike

 

    On Tuesday, October 15, 2019, 09:06:47 AM CDT, Michael Pittaro 
<mik...@lhrc.com> wrote:  
 
 
On Tue, Oct 15, 2019 at 9:34 AM Black Michael via wsjt-devel 
<wsjt-devel@lists.sourceforge.net> wrote:
>
> NetworkMessage.hpp -- several places.  Though after reading some more 
> descriptions it does seem to free flow back and forth as to who is client and 
> who is server.  The message aggregator is referred to as a server....not sure 
> why....in my book a server is the one piece that can run by itself....clients 
> aren't required.  Clients are useless without the server.   I think the code 
> comments were written to be very generic as the client/server relationship is 
> very much message specific to In/Out.   UDP protocol doesn't really have a 
> cliient/server architecture...just a protocol that rides on it.  You could 
> just as well replace client/server with "program and another program".
>
This is what tripped me up as well.   I didn't find the code or description to 
be wrong.  It's fairly clear about client and server roles.  It just never 
points out that wsjt-x is a 'client', and it's easy to miss that, since the UI 
says 'UDP Server.'   

mike, kj6vcp
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel
  
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to