Did I find the right examples for you? yes no

All Samples(19)  |  Call(0)  |  Derive(0)  |  Import(19)

src/c/i/circus-0.10.0/circus/sockets.py   circus(Download)
                    # Bind to device if given, e.g. to limit which device to
                    # bind when binding on IN_ADDR_ANY or IN_ADDR_BROADCAST.
                    import IN
                    if hasattr(IN, 'SO_BINDTODEVICE'):
                        self.setsockopt(socket.SOL_SOCKET, IN.SO_BINDTODEVICE,

src/c/i/circus-HEAD/circus/sockets.py   circus(Download)
                    # Bind to device if given, e.g. to limit which device to
                    # bind when binding on IN_ADDR_ANY or IN_ADDR_BROADCAST.
                    import IN
                    if hasattr(IN, 'SO_BINDTODEVICE'):
                        self.setsockopt(socket.SOL_SOCKET, IN.SO_BINDTODEVICE,

src/f/o/foundations-of-python-network-programming-HEAD/python2/02/big_sender.py   foundations-of-python-network-programming(Download)
#!/usr/bin/env python
# Foundations of Python Network Programming - Chapter 2 - big_sender.py
# Send a big UDP packet to our server.
 
import IN, socket, sys
except socket.error:
    print 'The message did not make it'
    option = getattr(IN, 'IP_MTU', 14)  # constant taken from <linux/in.h>
    print 'MTU:', s.getsockopt(socket.IPPROTO_IP, option)
else:

src/f/o/fopnp-HEAD/py2/chapter02/big_sender.py   fopnp(Download)
#!/usr/bin/env python
# Foundations of Python Network Programming - Chapter 2 - big_sender.py
# Send a big UDP packet to our server.
 
import IN, socket, sys
except socket.error:
    print 'The message did not make it'
    option = getattr(IN, 'IP_MTU', 14)  # constant taken from <linux/in.h>
    print 'MTU:', s.getsockopt(socket.IPPROTO_IP, option)
else:

src/d/o/domogik-HEAD/src/domogik/xpl/hub/lib.py   domogik(Download)
#import os
#import socket
import IN, socket, struct
 
# config file

src/m/o/mozilla-ignite-learning-lab-demos-HEAD/lab-6-7-openflow/controller/pox/openflow/of_01.py   mozilla-ignite-learning-lab-demos(Download)
  try:
    # Try to get it from where PyPy (sometimes) has it
    import IN
    PIPE_BUF = IN.PIPE_BUF
  except:

src/r/o/RouteFlow-HEAD/pox/pox/openflow/of_01.py   RouteFlow(Download)
  try:
    # Try to get it from where PyPy (sometimes) has it
    import IN
    PIPE_BUF = IN.PIPE_BUF
  except:

src/p/y/pytomation-HEAD/pytomation/utility/miranda.py   pytomation(Download)
	from platform import system as thisSystem
	import xml.dom.minidom as minidom
	import IN,urllib,urllib2
	import readline,time
	import pickle

src/p/o/pox-HEAD/pox/openflow/of_01.py   pox(Download)
  try:
    # Try to get it from where PyPy (sometimes) has it
    import IN
    PIPE_BUF = IN.PIPE_BUF
  except:

src/p/y/pydhcplib-HEAD/pydhcplib/dhcp_network.py   pydhcplib(Download)
import _rawsocket
import type_ipv4
import IN
 
class DhcpNetwork:

  1 | 2  Next