Home | History | Annotate | Download | only in libqemu

Lines Matching refs:socket

17 #include <sys/socket.h>
50 pipe->socket = -1;
52 fd = socket( AF_INET, SOCK_STREAM, 0 );
54 fprintf(stderr, "%s: Can't create socket!!\n", __FUNCTION__);
70 pipe->socket = fd;
77 pipe->socket = qemu_pipe_open(pipename);
78 if (pipe->socket < 0) {
91 ret = write(pipe->socket, ptr, bufflen);
114 ret = read(pipe->socket, buff, bufflen);
133 if (pipe->socket >= 0) {
134 close(pipe->socket);
135 pipe->socket = -1;