Top "Sockets" questions

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

Cannot assign requested address using ServerSocket.socketBind

When I'm trying to set up a socket server, I've got an error message: Exception in thread "main" java.net.…

java sockets jvm bind
WebSocket connection failed: Error during WebSocket handshake: Unexpected response code: 400

I am trying to integrate Socket.io with Angular and I'm having difficulties making a connection from the client-side to …

javascript angularjs node.js sockets socket.io
How many socket connections possible?

Has anyone an idea how many tcp-socket connections are possible on a modern standard root server? (There is in general …

linux sockets tcp max server-hardware
TypeError: a bytes-like object is required, not 'str'

The following is the code that tries to modify the input supplied by a user by using sockets: from socket …

python python-3.x sockets
How to find an available port?

I want to start a server which listen to a port. I can specify port explicitly and it works. But …

java networking sockets port
How to set socket timeout in C when making multiple connections?

I'm writing a simple program that makes multiple connections to different servers for status check. All these connections are constructed …

c linux sockets
Setting a timeout for socket operations

When I create a socket: Socket socket = new Socket(ipAddress, port); It throws an exception, which is OK, because the …

java sockets
socket.emit() vs. socket.send()

What's the difference between these two? I noticed that if I changed from socket.emit to socket.send in a …

sockets node.js socket.io
Understanding INADDR_ANY for socket programming

I am trying to program some sockets and so, on the server side, I use htonl(INADDR_ANY). To the …

c sockets
an attempt was made to access a socket in a way forbbiden by its access permissions. why?

private void StartReceivingData(string ipAddress, int iPort) { try { if (!_bContinueReciving) { //initializeMainSocket(ipAddress, iPort); _mSocket = new Socket(AddressFamily.InterNetwork, SocketType.Raw, …

c# sockets video streaming