Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(3)  |  Derive(2)  |  Import(4)

src/c/i/circuits-bricks-0.3/circuits_bricks/net/sockets.py   circuits-bricks(Download)
.. moduleauthor:: mnl
"""
from circuits.net.sockets import UDPServer
import socket
import struct
 
class UDPMCastServer(UDPServer):

src/d/n/dnslib-0.8.3/dnslib/server/circuits_server.py   dnslib(Download)
#!/usr/bin/env python
 
from circuits.net.sockets import UDPServer
 
from dnslib import A, CNAME, MX, RR
class DNSServer(UDPServer):
 
    channel = "dns"
 
    def read(self, sock, data):

src/c/i/circuits-3.0.0.dev/tests/net/test_udp.py   circuits(Download)
from circuits.net.events import close, write
from circuits.core.pollers import Select, Poll, EPoll, KQueue
from circuits.net.sockets import UDPServer, UDPClient, UDP6Server, UDP6Client
 
from .client import Client
        udp_client = UDP6Client(("::1", 0), channel="client")
    else:
        udp_server = UDPServer(0)
        udp_client = UDPClient(0, channel="client")
    server = Server() + udp_server
def test_close(Poller, ipv6):
    m = Manager() + Poller()
    server = Server() + UDPServer(0)
    server.register(m)
    m.start()
        assert pytest.wait_for(m, server, value=test)
 
        server = Server() + UDPServer((host, port))
        server.register(m)
 

src/c/i/circuits-3.0.0.dev/tests/node/test_node.py   circuits(Download)
from circuits.net.events import close
from circuits.node import Node, remote
from circuits.net.sockets import UDPServer