Skip to content Skip to sidebar Skip to footer
Showing posts with the label Sockets

Python Socket Recv From Java Client

I have a problem with a simple python tcp server (I'm using SocketServer class) that have to re… Read more Python Socket Recv From Java Client

Tor, Stem, And Sockets - Changing Identity With Tor

I'm trying to run Tor through python. My goal is to be able to switch exits or otherwise alter … Read more Tor, Stem, And Sockets - Changing Identity With Tor

How Can I Write A Socket Server In A Different Thread From My Main Program (using Gevent)?

I'm developing a Flask/gevent WSGIserver webserver that needs to communicate (in the background… Read more How Can I Write A Socket Server In A Different Thread From My Main Program (using Gevent)?

Python3 Catch Errors When From Self.connect(('badhost',6667))

Looks like asyncio is the module to use. I'll leave this question up anyway, because it doesn&#… Read more Python3 Catch Errors When From Self.connect(('badhost',6667))

Using Socket Af_packet / Sock_raw But Tell Kernel To Not Send Rst

My question has roughly been discussed here. And the tl;dr solution is to do: iptables -A OUTPUT -p… Read more Using Socket Af_packet / Sock_raw But Tell Kernel To Not Send Rst

When Does Socket.recv() Raise An Exception?

I'm using blocking sockets and I'm quite confused about recv() because I didn't find an… Read more When Does Socket.recv() Raise An Exception?

Identical Error Codes

I use python 2.4.1 on Linux, and a python package written inside the company I work in, for establi… Read more Identical Error Codes

How To Use Python Socket.settimeout() Properly

As far as I know, when you call socket.settimeout(value) and you set a float value greater than 0.0… Read more How To Use Python Socket.settimeout() Properly