473,405 Members | 2,415 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Socket Programming in Python

For the uninitiated: "Socket Programming in Python" at
evolt.org: http://evolt.org/article/Socket_Prog...276/index.html

=====
-Premshree
[http://www.qiksearch.com/]

__________________________________________________ ______________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html

Jul 18 '05 #1
3 1687
Premshree Pillai wrote:
For the uninitiated: "Socket Programming in Python" at
evolt.org: http://evolt.org/article/Socket_Prog...276/index.html


Hmm. I'd stick to http://www.amk.ca/python/howto/sockets/

But, ofcourse, only if you really need to use raw socket communication ;-)

--Irmen
Jul 18 '05 #2
Premshree Pillai wrote:
For the uninitiated: "Socket Programming in Python" at
evolt.org: http://evolt.org/article/Socket_Prog...276/index.html

=====
-Premshree
[http://www.qiksearch.com/]

__________________________________________________ ______________________
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and more.
Go to: http://in.insurance.yahoo.com/licspecial/index.html

What a retarded tutorial. If that article is any indication of Mumbai
University it seems that institution is to be about on par with an
american vocational high school.

Jul 18 '05 #3
> from socket import *

is not required. In fact, that leads to namespace pollution that may
cause problems for users later.

Most socket applications that I've seen tend to use 'import socket',
then refer to all the various constants by socket.AF_INET and such.

Another thing worth mentioning is that while UDP datagrams are useful
when you don't care about your data, TCP streams tend to do what people
expect (no information gets re-arranged, etc.).

- Josiah
Jul 18 '05 #4

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

Similar topics

4
by: drs | last post by:
Hi, I have a programming design question. I would like to do this in Python, but I am not even sure about what tools are proper or where to start reading. I am trying to make a small network...
1
by: xunil | last post by:
assuming am sitted on my PC, and want to be notified when some one else logs on to his machine. throught some kind of pop-up how can i use C socket programming concepts to achieve this ?
2
by: Jean-Philippe Guyon | last post by:
Hello, I am trying to compile a class that uses socket using the Visual C++ ..NET compiler. I get the following error: ------ Build started: Project: infCommon, Configuration: Release Win32...
3
by: zbcong | last post by:
hello i found there are three socket programming architectures from dotnet:synchronized socket,asynchronized socket and TcpListener. i know that the asynchronized socket is non-blocking socket.i...
5
by: John Sheppard | last post by:
Hi all, I am not sure that I am posting this in the right group but here it goes anyway. I am new to socket programming and I have been searching on the internet to the questions I am about to pose...
1
by: John Sheppard | last post by:
Thanks to everyone that responded to my previous Socket Programming question. Now I have run into some behavior that I don't quite understand. Programming environment. VS.NET 2003, C#, Windows...
4
by: Marco Meoni | last post by:
Hi. I read the Gordon McMillan's "Socket Programming Howto". I tried to use the example in this howto but this doesn't work. The code is class mysocket: '''classe solamente dimostrativa -...
8
by: =?Utf-8?B?Sm9obg==?= | last post by:
Hi all, I am new to .net technologies. ASP.NET supports socket programming like send/receive in c or c++? I am developing web-site application in asp.net and code behind is Visual C#. In...
1
by: =?iso-8859-1?q?C=E9dric_Lucantis?= | last post by:
Hi, Le Friday 13 June 2008 18:29:06 srinivasan srinivas, vous avez écrit : Yes, the friendly manual :) http://docs.python.org/lib/module-socket.html and if you want to know more about...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.