Hi folks,
I need one server to broadcast information throught APE, but I am not having
a good time.
I tried firing POST's to the server like those ones
var request =
"[{\"cmd\":\"CONNECT\",\"chl\":!chl!,\"params\":{\"name\":\"!nome!\"}}]"
.Replace("!chl!", chl)
.Replace("!nome!", nome);
var response = Send(request);
And inside Send i just use WebClient class to send it. All goes pretty well
until I try sending a menssage, when I get this result after a long delay:
System.Net.WebException: The remote server returned an error: (500) Internal
Server Error.
at System.Net.WebClient.UploadDataInternal(Uri address, String method,
Byte[] data, WebRequest& request)
at System.Net.WebClient.UploadString(Uri address, String method, String
data)
Is there another way to do that? Sockets maybe?
Cordialmente,
Adilson Carvalho
---
Vida?! Não, é intervalo de superfície. Vida mesmo, só debaixo d'água.
Tá de bobeira? Venha conhecer o meu blog em
http://adilsoncarvalho.com.br/blog/
--
You received this message because you are subscribed to the Google
Groups "APE Project" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/ape-project?hl=en
---
APE Project (Ajax Push Engine)
Official website : http://www.ape-project.org/
Git Hub : http://github.com/APE-Project/