473,811 Members | 2,856 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Data Transmission Crash Course Required

Hello, everyone!

I am a Python enthusiast, also trying to learn basic Linux skills in
order to rid myself of the Windows plague (off-topic rant). I was
considering doing a Battleships game that runs in text mode and has the
capacity to connect players via networking. Trouble is I have minimal
experience in networking, let alone in Python's methods for data
exchange. I am looking for a quick-n-dirty approach, upon which I can
certainly expand by further reading Python documentation. Also, if
anyone can recommend an online resource for learning more about TCP/IP
and the like (a programmer's view of it), I would be very grateful.

Thanks in advance.

Nov 22 '05 #1
6 1309
dn****@hotpop.c om wrote:
Hello, everyone!

I am a Python enthusiast, also trying to learn basic Linux skills in
order to rid myself of the Windows plague (off-topic rant). I was
considering doing a Battleships game that runs in text mode and has the
capacity to connect players via networking. Trouble is I have minimal
experience in networking, let alone in Python's methods for data
exchange. I am looking for a quick-n-dirty approach, upon which I can
certainly expand by further reading Python documentation. Also, if
anyone can recommend an online resource for learning more about TCP/IP
and the like (a programmer's view of it), I would be very grateful.

Thanks in advance.

Take a look at

http://www.holdenweb.com/linuxworld/NetProg.pdf

Sample code in

http://www.holdenweb.com/linuxworld/ex.tar

I'd be interested to see whether the material is any use to someone new
to networking.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/

Nov 22 '05 #2
dn****@hotpop.c om wrote:
Hello, everyone!

I am a Python enthusiast, also trying to learn basic Linux skills in
order to rid myself of the Windows plague (off-topic rant). I was
considering doing a Battleships game that runs in text mode and has the
capacity to connect players via networking. Trouble is I have minimal
experience in networking, let alone in Python's methods for data
exchange. I am looking for a quick-n-dirty approach, upon which I can
certainly expand by further reading Python documentation. Also, if
anyone can recommend an online resource for learning more about TCP/IP
and the like (a programmer's view of it), I would be very grateful.

Thanks in advance.

Take a look at

http://www.holdenweb.com/linuxworld/NetProg.pdf

Sample code in

http://www.holdenweb.com/linuxworld/ex.tar

I'd be interested to see whether the material is any use to someone new
to networking.

regards
Steve
--
Steve Holden +44 150 684 7255 +1 800 494 3119
Holden Web LLC www.holdenweb.com
PyCon TX 2006 www.python.org/pycon/

Nov 22 '05 #3

<dn****@hotpop. com> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...

exchange. I am looking for a quick-n-dirty approach, upon which I can
certainly expand by further reading Python documentation. Also, if
anyone can recommend an online resource for learning more about TCP/IP
and the like (a programmer's view of it), I would be very grateful.


You can sidestep the issue somewhat by using XML-RPC.
The Client and the Server is part of Pythons standard libraries.
Nov 22 '05 #4

<dn****@hotpop. com> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...

exchange. I am looking for a quick-n-dirty approach, upon which I can
certainly expand by further reading Python documentation. Also, if
anyone can recommend an online resource for learning more about TCP/IP
and the like (a programmer's view of it), I would be very grateful.


You can sidestep the issue somewhat by using XML-RPC.
The Client and the Server is part of Pythons standard libraries.
Nov 22 '05 #5
Thank you both for the suggestions. I will look into both of them, as I
am eager to learn new things about Python.

Nov 22 '05 #6
Thank you both for the suggestions. I will look into both of them, as I
am eager to learn new things about Python.

Nov 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
5494
by: grz02 | last post by:
A question on html-forms: We have an application where users will get a CD with, among other things, some html-forms for them to fill in. When they click the submit-button, the data is transferred to a webserver php-script that will then process the info. The forms-definition looks something like this: <form action="http://www.ourdomain.com/receiver.php" method="post"> <p>Question 1:
1
1946
by: James | last post by:
All data for my company is stored on an internet web server, hosted by discountasp.net, and a web service is used for both Windows and web clients to retreive and modify it. I'm using a Microsoft Access .mdb file. A local server is not used because, although only a small business, not all employees work from a single location (some in London, others in Delhi, etc.). The trouble is that it's not particularly easy to work with the data in...
46
10468
by: ahmed.maryam | last post by:
Hi all, I have 2 C# applications that I need to pass data between. Specifically XML information such as a document or node name. How can I do that? Thanks in advance! ~ Maryam
0
1592
by: basyarie | last post by:
Dear VB specialist, I need your help for my problem. I wanna get data from our measurement tool called Data Transmission Analyzer from Anritsu company. The model is MD6420A. I want to retrieve it and write to my laptop using GPIB-USB cable from National Instrument under VB6 application. My questions: 1. I read some VB6 books related to GPIB comm and measurement tools. But unfortunately different product will be different required module...
0
9603
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10644
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10393
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10124
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9200
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5550
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5690
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4334
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3015
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.