Is it possible to keep a Xojo.net.HttpSocket alive ? And how could i do this?
Thanks…
Is it possible to keep a Xojo.net.HttpSocket alive ? And how could i do this?
Thanks…
Since you gave us nothing to work with, here’s a doc link: http://developer.xojo.com/xojo-net-httpsocket
It’s simple, RequestHeader(“Connection”) = “Keep-Alive” doesn’t seem to work…
It’s a generic problem with many sockets and platforms. Just make sure at least some data will be transferred periodically.
Can it be used for websockets too?
libcURL doesn’t implement the websocket protocol. It can establish the connection for you but you would have to implement the protocol yourself.