[so] [Tema 2] Problema client pe Windows

Marius Rafailescu raphy_89 at yahoo.com
Thu Apr 7 20:31:50 EEST 2011


Da...coada am numit-o \\.\mailslot\gateway, asa cum se defineste o coada in 
Windows.




________________________________
From: Lungu Adrian <lungu_a_ro at yahoo.com>
To: so at cursuri.cs.pub.ro
Sent: Thu, April 7, 2011 8:23:17 PM
Subject: Re: [so] [Tema 2] Problema client pe Windows

Marius Rafailescu <raphy_89 at ...> writes:

> 
> 
> Salut!Pentru a verifica daca programul gateway.exe comunica cu client.exe am
facut cateva teste "de mana" si am observat urmatoarul comportament (am rulat pe
masina virtuala de Windows): gateway creaza coada 'gateway' si asteapta un mesaj
(ceea ce ar trebui sa se intample initial), insa clientul crapa cu mesajul
'Write to MailSlot: No error \n Code: 87 \n (utils.c, 50): \n'. Ce ar putea
determina clientul sa afiseze mesajul acesta? La ce face referire linia 50 din
utils.c?Multumesc anticipat,Marius
> 
> 


   MAcroul DIE cred ca e acolo ...  vezi ca mailslot-ul nu trebuie sa se 
numeasca 

"gateway" , ci "\\\\.\\mailslot\\gateway"
   Codul de eroare 87 insemna "Parameter is incorrect" .

_______________________________________________
http://elf.cs.pub.ro/so/wiki/resurse/lista-discutii
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cursuri.cs.pub.ro/pipermail/so/attachments/20110407/c8a04429/attachment.htm>


More information about the so mailing list