Did I find the right examples for you? yes no

All Samples(23513)  |  Call(14)  |  Derive(3)  |  Import(23496)
This module provides socket operations and some related functions.
On Unix, it supports IP (Internet Protocol) and Unix domain sockets.
On other systems, it only supports IP. Functions specific for a
socket are available as methods of the socket object.

Functions:

socket() -- create a new socket object
socketpair() -- create a pair of new socket objects [*]
fromfd() -- create a socket object from an open file descriptor [*](more...)

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/TCP_Systems/HTTP/KamaeliaWebServer.py   kamaelia(Download)
 
# Import socket to get at constants for socketOptions
import socket
import pprint
 

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/TCP_Systems/HTTP/cookbook_2.py   kamaelia(Download)
"""
 
import socket
import Axon
 

src/k/a/kamaelia-HEAD/Sketches/MPS/BugReports/FixTests/Kamaelia/Examples/TCP_Systems/HTTP/cookbook_1.py   kamaelia(Download)
 
# Import socket to get at constants for socketOptions
import socket
 
# Import the server framework, the HTTP protocol handling and the minimal request handler

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/parallel/wave2D/communicator.py   antisocial(Download)
#!/usr/bin/env python
"""A simple Communicator class that has N,E,S,W neighbors connected via 0MQ PEER sockets"""
 
import socket
 

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/parallel/interengine/communicator.py   antisocial(Download)
import socket
 
import uuid
import zmq
 

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/parallel/interengine/bintree.py   antisocial(Download)
import cPickle as pickle
import re
import socket
import uuid
 

src/a/n/antisocial-HEAD/ve/share/doc/ipython/examples/parallel/demo/dependencies.py   antisocial(Download)
def checkhostname(host):
    import socket
    return socket.gethostname() == host
 
def getpid():

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/TCP_Systems/HTTP/KamaeliaWebServer.py   kamaelia(Download)
 
# Import socket to get at constants for socketOptions
import socket
import pprint
 

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/TCP_Systems/HTTP/cookbook_2.py   kamaelia(Download)
"""
 
import socket
import Axon
 

src/k/a/kamaelia-HEAD/Code/Python/Kamaelia/Examples/TCP_Systems/HTTP/cookbook_1.py   kamaelia(Download)
 
# Import socket to get at constants for socketOptions
import socket
 
# Import the server framework, the HTTP protocol handling and the minimal request handler

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next