I am working on a script which can send data to a remote server computer and I am wondering which is better to achieve this functionality, the high level functionality provided by HTTP or just raw sockets. It would be ideal if an answer is followed by a cogent reason why one should be picked over the other. This is an educative/real world use scenario which will involve point to point transmission between work stations over the wider internet and accuracy is paramount.
closed as not a real question by Martijn Pieters, glenatron, Glenn Nelson, GlenH7, Oleksi Jan 21 at 19:33
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
If your goal is "educative", you should absolutely use raw sockets. HTTP is just too easy to do in any modern language, including Python, to be of any educational value. But TCP connections as exposed by the socket interface are complicated and the experience working with them will serve you in good stead for years to come.