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/m/2/M2Crypto-HEAD/examples/Zope/ZServer/medusa/ftps_server.py   M2Crypto(Download)
 
# Python
import socket, string, sys, time
 
# Medusa

src/i/n/IncPy-HEAD/Mac/Demo/example2/dnslookup-2.py   IncPy(Download)
import FrameWork
import EasyDialogs
from Carbon import Res
from Carbon import Dlg
import socket

src/i/n/IncPy-HEAD/Mac/Demo/example1/dnslookup-1.py   IncPy(Download)
from Carbon import Res
from Carbon import Dlg
import socket
import string
import macresource

src/r/a/raspberry_pwn-HEAD/src/pexpect-2.3/examples/bd_serv.py   raspberry_pwn(Download)
# I've ever built. This should be considered an experimental tool -- at best.
import pxssh, pexpect, ANSI
import time, sys, os, getopt, getpass, traceback, threading, socket
 
def exit_with_usage(exit_code=1):

src/r/a/raspberry_pwn-HEAD/src/pexpect-2.3/examples/bd_client.py   raspberry_pwn(Download)
for testing rather than normal use. See bd_serv.py """
 
import socket
import sys, time, select
 

src/c/o/cogen-0.2.1/examples/cogen-irc/CogenIrcApp/cogenircapp/controllers/irc.py   cogen(Download)
import simplejson
import time
import socket
 
def parsemsg(s): # stolen from twisted.words

src/r/y/ryu-HEAD/ryu/services/protocols/vrrp/sample_router.py   ryu(Download)
import contextlib
import greenlet
import socket
 
from ryu.base import app_manager

src/p/y/python2.7-mod-HEAD/Mac/Demo/example2/dnslookup-2.py   python2.7-mod(Download)
import FrameWork
import EasyDialogs
from Carbon import Res
from Carbon import Dlg
import socket

src/p/y/python2.7-mod-HEAD/Mac/Demo/example1/dnslookup-1.py   python2.7-mod(Download)
from Carbon import Res
from Carbon import Dlg
import socket
import string
import macresource

src/p/a/packetpig-HEAD/lib/scripts/impacket/examples/smbrelayx/smbrelayx.py   packetpig(Download)
#
 
import socket
import string
import sys

Previous  4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12  Next