Displaying 6 results from an estimated 6 matches for "scocket".
2017 May 17
2
Re: No way to stop virStream error after guest stop
I get just _READABLE events repeatedly, virStreamAbort() doesn't work, it
gets out of control after the target domain stops and the unix scocket is
deleted. I ended connecting directly to the unix socket. I just wanted to
ask if it certainly is a bug or perhaps someone went through this before
and have a workaround.
Jose V.
Em ter, 16 de mai de 2017 às 05:28, Martin Kletzander <mkletzan@redhat.com>
escreveu:
> On Fri, Apr 28, 201...
2017 May 17
2
Re: No way to stop virStream error after guest stop
..., May 17, 2017 at 09:08:14AM +0200, Martin Kletzander wrote:
>On Wed, May 17, 2017 at 01:01:39AM +0000, JosÉ Luis Valencia Gutierrez wrote:
>>I get just _READABLE events repeatedly, virStreamAbort() doesn't work, it
>>gets out of control after the target domain stops and the unix scocket is
>>deleted. I ended connecting directly to the unix socket. I just wanted to
>>ask if it certainly is a bug or perhaps someone went through this before
>>and have a workaround.
>>
>
>It's OK workaround if you are on the same host and you can connect to
>the un...
2017 May 17
0
Re: No way to stop virStream error after guest stop
On Wed, May 17, 2017 at 01:01:39AM +0000, JosÉ Luis Valencia Gutierrez wrote:
>I get just _READABLE events repeatedly, virStreamAbort() doesn't work, it
>gets out of control after the target domain stops and the unix scocket is
>deleted. I ended connecting directly to the unix socket. I just wanted to
>ask if it certainly is a bug or perhaps someone went through this before
>and have a workaround.
>
It's OK workaround if you are on the same host and you can connect to
the unix socket directly. But I t...
2006 Aug 25
0
Session request packet
...ost, int iPort)
{
//Judge if parameter is avalible
if((szHost == 0) || (iPort <= 0))
return -1;
int socketid = 0; //identify of socket
//Initial a tcp socket and get identify of socket
socketid = socket(AF_INET, SOCK_STREAM, 0);
if(socketid == -1)
cout << "Scocket error." << endl;
else
cout << "Socket is " << socketid << endl;
//Get name by ip address of host
struct hostent* host;
if((host = gethostbyname(szHost)) != NULL)
cout << "Get host name is " << host->h_name << en...
2017 May 17
0
Re: No way to stop virStream error after guest stop
...:08:14AM +0200, Martin Kletzander wrote:
> >On Wed, May 17, 2017 at 01:01:39AM +0000, JosÉ Luis Valencia Gutierrez
> wrote:
> >>I get just _READABLE events repeatedly, virStreamAbort() doesn't work, it
> >>gets out of control after the target domain stops and the unix scocket is
> >>deleted. I ended connecting directly to the unix socket. I just wanted to
> >>ask if it certainly is a bug or perhaps someone went through this before
> >>and have a workaround.
> >>
> >
> >It's OK workaround if you are on the same host and...
2017 Apr 28
2
No way to stop virStream error after guest stop
Hello everyone,
I am opening a virChannel(unix) to a domain and receiving data with a
non-blocking virStream using events, when the connected domain gets
stopped(which deletes the channel unix socket) by calling destroy,
shutdown, pause or migrate on that domain, with the stream open the read
event is triggered repeatedly, and virStreamRecv returns 0 bytes indicating
EOF but neither