Johan, et al:

 

Yes, that is exactly what I want.  I need to write a program that communicates with an existing server, using the UDP protocol.  This is my first time writing such a program, and I need help getting started. 

 

Thanks again. 

 

Barry

 


From: Johan Geldenhuys [mailto:[EMAIL PROTECTED]
Sent: Monday, October 31, 2005 5:35 PM
To: Carroll, Barry
Cc: 'tutor@python.org'
Subject: Re: [Tutor] Talking to UDPServer

 

Maybe you could tel us if you already have the server listening on the socket that you expec connections on? If, yes, do you want an example of how a client connects to that socket?

Johan

Carroll, Barry wrote:

Greetings:

 

I am writing a browser-based interface to a server program which extends SocketServer.UDPServer.  The program listens on a well-known socket, receiving commands, verifying them and using their content to drive our test hardware, returning status to the client.  The current client interface is a command line interface that allows the user to type in a command and sends it to the server, receives the status response and displays it for the user.  My job is to duplicate the client functionality in a set of web pages. 

 

My problem is that, while I can find documentation on UDPServer, I cannot find anything on how a remote client talks to the server.  How is this done in Python?  Can someone point me to a how-to, tutorial or the like? 

 

Thanks in advance.

 

Barry

 

 

 

 


 
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor
  
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to