Top "Sockets" questions

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

How to fix java.net.SocketException: Broken pipe?

I am using apache commons http client to call url using post method to post the parameters and it is …

java exception post sockets
What is the difference between a port and a socket?

This was a question raised by one of the software engineers in my organisation. I'm interested in the broadest definition.

networking sockets port
"A connection attempt failed because the connected party did not properly respond after a period of time" using WebClient

I am using the following code which is working on local machine, but when i tried the same code on …

c# sockets webclient
java.net.SocketTimeoutException: Read timed out under Tomcat

I have a Tomcat based web application. I am intermittently getting the following exception, Caused by: java.net.SocketTimeoutException: Read …

java sockets tomcat timeout socket-timeout-exception
Official reasons for "Software caused connection abort: socket write error"

Given this stack trace snippet Caused by: java.net.SocketException: Software caused connection abort: socket write error  at java.net.…

java exception sockets tomcat stack-trace
How do I remove a CLOSE_WAIT socket connection

I have written a small program that interacts with a server on a specific port. The program works fine, but: …

linux sockets
Can two applications listen to the same port?

Can two applications on the same machine bind to the same port and IP address? Taking it a step further, …

sockets tcp udp port communication
java.net.SocketException: Software caused connection abort: recv failed

I haven't been able to find an adequate answer to what exactly the following error means: java.net.SocketException: Software …

java sockets
What is the largest Safe UDP Packet Size on the Internet

I've read a number of articles about UDP packet sizes but have been unable to come to a conclusion on …

networking sockets udp ipv4
How do SO_REUSEADDR and SO_REUSEPORT differ?

The man pages and programmer documentations for the socket options SO_REUSEADDR and SO_REUSEPORT are different for different operating …

linux windows sockets unix portability