Top "Sockets" questions

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

TCP: can two different sockets share a port?

This might be a very basic question but it confuses me. Can two different connected sockets share a port? I'm …

sockets tcp network-programming port
104, 'Connection reset by peer' socket error, or When does closing a socket result in a RST rather than FIN?

We're developing a Python web service and a client web site in parallel. When we make an HTTP request from …

python sockets wsgi httplib2 werkzeug
What is the reason and how to avoid the [FIN, ACK] , [RST] and [RST, ACK]

What is the reason and how to avoid the [FIN, ACK], [RST] and [RST, ACK]? Is it due to some …

linux sockets tcp solaris wireshark
java.net.SocketException: Connection reset by peer: socket write error When serving a file

I am trying to implement an HTTP Server using Sockets. If the Client (For example a browser) requests a directory …

java sockets socketexception
Good tool for testing socket connections?

I'm writing a tcp/ip client and I would need a "test server" to be able to test easily. It …

windows sockets networking utility
socket connect() vs bind()

Both connect() and bind() system calls 'associate' the socket file descriptor to an address (typically an ip/port combination). Their …

c sockets network-programming
Socket.io + Node.js Cross-Origin Request Blocked

I'm using node and socket.io to write a chat application. It works fine on Chrome but mozilla gives an …

node.js sockets socket.io cors
Where to find the complete definition of off_t type?

I am sending file from client to server using TCP. To mark the end of the file I like to …

c sockets networking types header-files
What is the difference between 127.0.0.1 and localhost

Assuming the following is defined in .../hosts: 127.0.0.1 localhost What, if any, are the actual differences between using 127.0.0.1 and localhost as …

sockets networking dns localhost
Cannot find mysql.sock

I just had to re-install mysql and I am having a problem starting it up. It cannot find the socket (…

mysql macos sockets installation