Package qubx :: Module sock
[hide private]
[frames] | no frames]

Module sock

source code

Network base classes.

Copyright 2007-2015 Research Foundation State University of New York This file is part of QUB Express.

QUB Express is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

QUB Express is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License, named LICENSE.txt, in the QUB Express program directory. If not, see <http://www.gnu.org/licenses/>.

Classes [hide private]
  Stop
Raised and caught internally to break out of a read when Socket.stop() is called
  Socket
Socket(host, port, async=True)
  TCPServer
Listens for connections on its own thread; calls session_f(each new socket.socket).
Functions [hide private]
 
connect_as_client(host, port)
Returns a new client socket.socket connected to host, port.
source code
 
postJson(x, url, wantResult=True) source code
Variables [hide private]
  __package__ = None
hash(x)