C Programmer to 'Convert' Python Network Code and Add Multithread
£5-20 GBP / hour
In Progress
Posted about 11 years ago
£5-20 GBP / hour
I have coded a simple Python script that connects to a server and queries it for a designated response. Once the designated response is received, it will, using a network connection it has opened on another port, 'fire' out XML code.
To clarify, the script is for domain registration with Nominet (UK) and it is querying the availability of a domain. When it receives a response back that the domain is available, it sends registration text via another network connection.
I have all the XML code that is needed within my original script and an excellent basis for the code that you will write (my code is fully functioning). I just want it to now query the domain as before but it will now have four/five connections open on the domain registration port (my Python code only has on) and will fire these requests off as soon as a domain is noted as being available. The code needs to be efficient.
I do not believe that coding should take more than a couple of hours as I am providing a functioning copy (minus the threading) that simply needs translating to C. I can also provide a more detailed psuedo-code if that helps. My original Python code is approximately 100 lines of code and I'll need all networking to not use Nagle (which is pretty easily done).
For reference: The code will be command line driven and hosted on an Ubuntu Server.