Top "Recv" questions

BSD Sockets function used for receiving data from a TCP socket.

Raw Socket Linux send/receive a packet

Have some problems in receiving packets. I can receive and read incoming packets, but I think i do not get …

c sockets networking send recv
recv() returns 0

I have a very annoying problem that I found several times on other forums but I can't find a proper …

sockets shutdown zero recv closesocket
c recv() read until newline occurs

I'm working on writing a IRC bot in C, and have ran into a snag. In my main function, I …

c sockets recv
Nginx error recv() failed (104: Connection reset by peer)

Since a couple of days ago, I'm getting some errors on my server. I use CentOS 6.5 with Parallels 12.0.18, Apache server …

php apache nginx recv gateway
How does the python socket.recv() method know that the end of the message has been reached?

Let's say I'm using 1024 as buffer size for my client socket: recv(1024) Let's assume the message the server wants to …

python sockets recv
Java socket exception: recv failed

This is basically the picture: I have a server and a client (operating through localhost). Server creates a clientthread for …

java sockets exception recv
recv with non-blocking socket

I am trying to implement non-blocking for socket recv and the problem is that I got an error -1 when …

c linux sockets nonblocking recv
How do I abort a socket.recv() from another thread in Python

I have a main thread that waits for connection. It spawns client threads that will echo the response from the …

python multithreading sockets recv
If a nonblocking recv with MSG_PEEK succeeds, will a subsequent recv without MSG_PEEK also succeed?

Here's a simplified version of some code I'm working on: void stuff(int fd) { int ret1, ret2; char buffer[32]; ret1 = …

sockets nonblocking recv
How to turn a character array into uint8_t

I have a server-client application that I'm working on that basically simulates a chat room. This is an assignment for …

c casting send recv uint8t