
What is AF_INET in socket programming? - Stack Overflow
Jul 16, 2025 · AF_INET is an a ddress f amily that is used to designate the type of addresses that your socket can communicate with (in this case, Internet Protocol v4 addresses). When you …
What exactly is Socket - Stack Overflow
I don't know exactly what socket means. A server runs on a specific computer and has a socket that is bound to a specific port number. The server just waits, listening to the socket for a client …
python - socket.shutdown vs socket.close - Stack Overflow
Jan 3, 2009 · Most socket libraries, however, are so used to programmers neglecting to use this piece of etiquette that normally a close is the same as shutdown(); close(). So in most …
networking - What is a socket? - Unix & Linux Stack Exchange
113 A socket is a pseudo-file that represents a network connection. Once a socket has been created (identifying the other host and port), writes to that socket are turned into network …
Difference between socket and websocket? - Stack Overflow
The Socket.IO module available for node.js can help a lot, but note that it is not a pure WebSocket module in its own right. It's actually a more generic communications module that can run on …
Basic Python client socket example - Stack Overflow
I've been trying to wrap my head around how sockets work, and I've been trying to pick apart some sample code I found at this page for a very simple client socket program. Since this is …
python socket programming OSError: [WinError 10038] an …
OSError: [WinError 10038] an operation was attempted on something that is not a socket
UDP Client/Server Socket in Python - Stack Overflow
I am trying to write an echoing client/server socket. I have written the server so that 30% of the packets are lost. I programmed my client to timeout after one second since the packet could …
Socket.IO handling disconnect event - Stack Overflow
The server side code that emits this disconnected event is inside the disconnect event callback which is fired when the socket loses connection. Since the socket already lost connection, …
OpenSSL: socket: Connection refused connect:errno=111
Dec 5, 2014 · OpenSSL: socket: Connection refused connect:errno=111 Asked 11 years, 1 month ago Modified 2 years, 9 months ago Viewed 172k times