Top "Python-sockets" questions

Python requests speed up using keep-alive

In the HTTP protocol you can send many requests in one socket using keep-alive and then receive the response from …

python http python-requests python-sockets
python socket GET

From the other posts on stack overflow this should be working import socket s = socket.socket(socket.AF_INET, socket.…

python python-sockets
Difficulty using Python's socket.gethostbyaddr()

I am trying to reverse dns a list of IPs using socket.gethostbyaddr() in python, which returns 'Unknown Host' for …

python networking dig python-sockets gethostbyaddr
Check network connection from an IP address with Python

How can I check if there is still connection from a specific ip address using python.

python network-programming ip-address python-sockets
Python Sockets - Sending a packet to a server and waiting for a response

I am currently implementing the code below to send a packet to Parallels PVA XML API. I am trying to …

python python-sockets
What is the function of SOCK_STREAM?

I am learning about sockets in Python and came up with variable = socket.socket(socket.AF_INET, socket.SOCK_STREAM) …

python sockets python-sockets
How to check if a specific port is listening using Python script?

I want to check if api and app are running before running tests on them. I know I can get …

python tcp port tcplistener python-sockets
Finding Live Nodes on LAN using Python

I am creating a Messenger which is same as IP Messenger in Python 2.7 and Windows. I want the same functionality …

python networking ip lan python-sockets
python: loop with socket.recv()

Do you know why this loop doesn't break? #!/usr/bin/env python from socket import * import os import sys if __…

python python-sockets
socket server - getting a connected user's ip

I have just started to make a simple socket "chat" server where users connect to my server through telnet. I …

python python-2.7 socketserver python-sockets