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

Socket Issue When Using Threads

I've been working on a python game in my spare time, and I've run into a problem. I'm w… Read more Socket Issue When Using Threads

Python Icmp Socket Server (not Tcp\udp)

I'm trying to write a socket server in Python that can receive ICMP packets. Here's my code… Read more Python Icmp Socket Server (not Tcp\udp)

Python Socket Gethostbyname() Returns Only One Ip Address

Friends, I'm doing some simple experiments using python socket, where I've a HOSTNAME which… Read more Python Socket Gethostbyname() Returns Only One Ip Address

Sending File Over Udp Divided Into Fragments

I have been dealing with sending file which is divided into fragments set by user on input. Problem… Read more Sending File Over Udp Divided Into Fragments

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))

Scatter/gather Socket Write In Python

In POSIX C we can use writev to write multiple arrays at once to a file descriptor. This is useful … Read more Scatter/gather Socket Write In Python