|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
From socekt import *
just looking over some socket examples .... what im looking for are some really simple tutorials that describe what everything is/does .....
my goal is to write something that just listens to data being sent to a port on my computer .... ive tried setting up a socket on the port i want then waiting on data coming to that port ........ but nothing |
|
#2
|
|||
|
|||
|
There is a simple example in the python docs - http://docs.python.org/lib/socket-example.html.
The standard library also has the SocketServer class and its subclasses. You could either use those directly or read the source to see how they do what they do. If you still can't get the code to work you could post it here and let us take a look at it. Dave |
|
#3
|
|||
|
|||
|
thankyou
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > From socekt import * |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|