Top "Sockets" questions

An endpoint of a bi-directional inter-process communication flow.

close vs shutdown socket?

In C, I understood that if we close a socket, it means the socket will be destroyed and can be …

c sockets networking
Java sending and receiving file (byte[]) over sockets

I am trying to develop a very simple client / server where the client converts a file to bytes, sends it …

java file sockets client
How to set timeout on python's socket recv method?

I need to set timeout on python's socket recv method. How to do it?

python sockets timeout
socket.error:[errno 99] cannot assign requested address and namespace in python

My server software says errno99: cannot assign requested address while using an ip address other than 127.0.0.1 for binding. But if …

python sockets namespaces ip
Connecting to TCP Socket from browser using javascript

I have a vb.net application that opens a socket and listens on it. I need to communicate via this …

javascript html node.js sockets tcpclient
Python socket.error: [Errno 111] Connection refused

I am trying to write a program for file transfer using sockets. The server end of the code is running …

python sockets errno
Python: Binding Socket: "Address already in use"

I have a question regarding client socket on TCP/IP network. Let's say I use try: comSocket = socket.socket(socket.…

python sockets tcp port
socket programming multiple client to one server

How do you handle multiple client to connect to one server? I have this LogServer.java import javax.net.ssl.*; …

java sockets applet logging port
What is AF_INET, and why do I need it?

I'm getting started on socket programming, and I keep seeing this AF_INET. Yet, I've never seen anything else used …

sockets
mysqld_safe Directory '/var/run/mysqld' for UNIX socket file don't exists

While starting mysql server 5.7.17 using mysqld_safe, following error occcours. 2017-02-10T17:05:44.870970Z mysqld_safe Logging to '/var/…

mysql sockets