recv
How would you receive a file sent with 'sendfile'?
I\'m trying to implement a basic file server. I have been trying to use the sendfile command found here: http://linux.die.net/man/2/sendfile I\'m using TCP.[详细]
2023-04-10 03:57 分类:问答C Windows buffer size
In windows lets say i\'m using the recv function to开发者_高级运维 receive data from a socket.[详细]
2023-04-08 20:02 分类:问答simple TCP client serve model in C : client not recieving
im making a simple TCP client-server in c and im trying to send a message from the client to the server, but im having some problems with it.[详细]
2023-04-04 00:56 分类:问答Is there a way to know how much data is available in a Python socket to receive?
I have figured out that I must use ioctl. There are similar questions here: How to tell how much data is in a Socket's send buffer[详细]
2023-03-27 21:57 分类:问答Determine if there is Data left on the socket and discard it
I\'m writing an Interface under Linux which gets Data from a TCP socket. The user provides a Buffer in which the received Data is stored. If the provided Buffer is to small I just want to return an Er[详细]
2023-03-26 02:17 分类:问答Socket programming : why are the behaviors of recv() and read() not the same?
I use select() to receive data from stdin. The code is here: #include <stdio.h> #include <unistd.h>[详细]
2023-03-24 09:22 分类:问答Python: Why does this non-blocking call to recv block?
I have the following code in the $init call of a thread: self.conn = copy.deepcopy(conn) self.conn.setblocking(0)[详细]
2023-03-23 16:21 分类:问答recv() windows socket takes infinite time - how to timeout?
I use file descriptors to find the readable sockets and go on to read. For some reasons, a socket that has no data on the wire, goes on to read and never returns. Is there a way I can come out of the[详细]
2023-03-21 06:33 分类:问答BSD Sockets - Using send and recv
I am trying to implement a simple chat program in linux using bsd sockets. Right now I am just trying to send and receive one message to the server from a client. Whenever I run the code, recv returns[详细]
2023-03-20 07:49 分类:问答Python tcp send receive functions
In python the recv is a blocking function or no开发者_如何转开发t? I\'m learned in the Uni C and there the was blocking and non-blocking socket. So I just wan to ask weather in python the recv functio[详细]
2023-03-13 06:45 分类:问答