Bill (G4WJS)

I’ve tried what you suggested
my program goes as far as waiting to receive from WSJT-X
then just sits there -

 Im able to print out the socket info ok.

Am I supposed to send WSJT-X something to get it to send?
( i read the protocol link - seems I’m supposed to - but I can’t figure out 
what)

if you have a moment here is my Python code

'''
 WSJT- X   UDP Socket client
'''
import socket
import sys

host = '127.0.0.1';
port = 2237;

try:
    s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
    s.connect((host,port))

except socket.error:
    print 'Failed to create Socket'
    sys.exit()

d = s.recv(1024)
    
print 'server raw recv:' + str(d)
reply = d[0]
addr = d[1]
print 'Server reply : ' + reply

socket.error, msg
print 'ErrorCode :' + str(msg[0]) + 'Message ' + msg[1]
sys.exit()


   Any help from anyone on the list would be appreciated     

On Aug 18, 2016, at 5:32 PM, Bill Somerville <[email protected]> wrote:

On 18/08/2016 22:30, Bill Somerville wrote:
> Hi Dan, 

forgot to mention, the details of the protocol, message fields and data 
types is available in the following file:

https://sourceforge.net/p/wsjt/wsjt/HEAD/tree/branches/wsjtx/NetworkMessage.hpp

73
Bill
G4WJS.


------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

------------------------------------------------------------------------------
_______________________________________________
wsjt-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to