AltME groups: search
Help · search scripts · search articles · search mailing listresults summary
world | hits |
r4wp | 2 |
r3wp | 135 |
total: | 137 |
results window for this page: [start: 101 end: 137]
world-name: r3wp
Group: Hardware ... Computer Hardware Issues [web-public] | ||
Graham: 13-Sep-2010 | Try the radio on a different wall socket .. the RF being generated by the PC may be leaking into the power. Also if that doesn't work, get some ferrite beads from Dick Smiths and wrap them around cables inside the PC. | |
Group: !Cheyenne ... Discussions about the Cheyenne Web Server [web-public] | ||
Carl: 13-Feb-2010 | I want to move DevBase (R3 Chat) to Cheyenne, but I must admit that I am a newbie with Cheyenne. Currently the code runs as a process, and we tunnel packets thru HTTP via Apache. However, I could run it as a persistent process in Cheyenne, or via some method that would simply put the http input and output into a socket. Anyone here know how this is done? | |
Carl: 13-Feb-2010 | The core of the problem is that SET-MODES port [close: false] is not supported in 2.7. Without it, we cannot close half of the duplex socket. | |
Carl: 13-Feb-2010 | In other words, there is no socket shutdown() function. | |
Gabriele: 16-May-2010 | Doc, the way that normally works (eg. apache) is that you start as root, open the socket, then drop privileges. | |
Terry: 2-Jun-2010 | Hey Doc.. I can access a websocket page from the interweb, but the socket communcations isn't working at all? However, it works fine accessing on the local network? Any ideas? | |
Dockimbel: 3-Jun-2010 | I can access a websocket page from the interweb, but the socket communcations isn't working at all? However, it works fine accessing on the local network? Any ideas? Is there any HTTP proxy in between? Does it require SSL? Cheyenne current websocket implementation doesn't support HTTPS yet. | |
Terry: 9-Jul-2010 | I have an ongoing issue with cheyenne websockets when not using port 80 (?) the page loads, the socket connects, but immediately disconnects? | |
Graham: 10-Jul-2010 | http://www.whatwg.org/specs/web-socket-protocol/ Doesn't look very difficult .. if you need it, start a bounty for it | |
Graham: 11-Jul-2010 | I presume that a web socket "function" will block all of Cheyenne until it is completed. | |
Endo: 11-Jul-2010 | well, I'm planning to make an turn based online game, but not inside a browser, client will be a separate rebol application. it will be connected to a web socket, and player did somthing it will be sent to all other players | |
Graham: 11-Jul-2010 | Sounds like I can forgo the sendmail.rsp script which a user might damage and just use a web socket instead | |
Endo: 11-Jul-2010 | @Graham: you are using web sockets for a wierd job. The shortest explanaiton for web socket is: it is the way to trigger an event on the client side from the server side via already open tcp (http) connection. ofcourse that connection is full duplex, client and server both can send a utf8 encoded (currently no binary) string messages anytime. | |
Graham: 27-Jul-2010 | I was thnking of using a web socket connection to cause Cheyenne to reload its configuration | |
Dockimbel: 5-Dec-2010 | For example, PHP in FastCGI mode supports multiplexed requests over a single FastCGI socket, while dispatching the load internally between several PHP processes (or thread under Windows). In that mode, the main PHP process manages the thread/process pool alone, and starts new instances when required. | |
ddharing: 5-Oct-2011 | FYI: I've been doing some web sockets testing with Cheyenne. It seems that the specification is still a fast moving target. The browsers are trying to keep up, but server implementations (like Cheyenne) are breaking. For example, the Cheyenne web socket samples work with Chrome 12 on Ubuntu, but not with Chrome 14 or Safari 5.1 on Windows. I'm going to try the iPad tomorrow. | |
ddharing: 5-Oct-2011 | A good site to test web socket support in your browser is http://websocketstest.com. It will even show the specification draft that your browser supports. It's different in Chrome 12 and Chrome 14. | |
Endo: 9-Dec-2011 | Thank you. I'll try. What I'm working on is, to poll a database table and send some changes to a client on a web socket. polling should not block Cheyenne of course. | |
Endo: 9-Dec-2011 | My plan is, adding database to Cheyenne config, poll in an aysnc way (jobs, task-master, etc.) and send something to clients over web socket. | |
Dockimbel: 9-Dec-2011 | Web socket + database query: it won't block if you transfer the query job to an RSP script. See the ws demo app: %www/ws-app/ws-test-app.r and the back-end RSP script: %www/ws.rsp | |
Endo: 10-Dec-2011 | 2) in ws-test-app.r file it says do-task/on-done takes an argument that can be anything. But when call do-task/on-done with any non-string argument I get an error, am I doing something wrong? I tried with a port (connected ws client) and a integer, both failed: 11/12-6:17:04.1090-## Error in [mod-socket] : On-timer call failed with error: make object! [ code: 303 type: 'script id: 'expect-arg arg1: 'do-task arg2: 'data arg3: [string!] near: [do-task/on-done 5 func [client data] [ send client join "Job end: " reform [now/time tab i] ]] where: :action ] ! | |
Group: !REBOL2 Releases ... Discuss 2.x releases [web-public] | ||
Maxim: 29-Jun-2010 | my point is that install is very annoying for people who develop because it creates a dependency in the interpreter which cannot be rooted out. I am not against the installer, i'm just against it being forced upon me, when the whole platform itself has no requirement for it I have not started REBOL without it requiring an external file or socket in what 10 years... so really what is the point. it just makes EVERYTHING complicated, like telling clients they have to fuck around with adding -qs all the time in their batch code, etc, etc. | |
Group: !REBOL3 Extensions ... REBOL 3 Extensions discussions [web-public] | ||
Maxim: 17-Sep-2009 | yes... the DLL will trigger code based on how its hooked into the OS.... so if you used multimedia timers, they will trigger when you ask them to. if we have callbacks, then Rebol code can be run as a consequence of that trigger. tcp sockets use triggers to tell you when connection, data, etc occurs... you could very well use C sockets directly by opening a lib and calling its funcs... I don't know if the fact that the rebol task already opens up a tcp socket lib would cause some interference, its quite possible that it would work. DB drivers often use callbacks for the "response" aspect of DB requests since most well designed DB interfaces should be async. Events & callbacks simply allow applications to live in the wait... and be asynchronous in nature. its the "better" model since it means the task is never busy waiting. There is a large effort in the linux world to make every app behave "properly" in this regard, and its a good thing... if every app is silently waiting on triggers, the whole system has a significant boost in responsiveness. | |
Robert: 17-Sep-2009 | Overall R3 should have a /Library interface. IMO adding a way to Rebol so that more c-ish datatype can be handled would make life a lot easier. And of course, provide a way to handle callbacks. Maybe via a proxy stub on the C side that transforms these callbacks to TCP socket requests. | |
Carl: 20-Jul-2010 | So, you could use a socket or IPC, etc. | |
Maxim: 2-Aug-2010 | all the IPC I've done with rebol where TCP socket based, some per connection, others with persistent and fault-detection wrappers similar to ip packets. | |
Group: !REBOL3 Schemes ... Implementors guide [web-public] | ||
Steeve: 10-Jan-2010 | Check IO-Request connection flag. This is not a socket check, it is a request state flag check. Check the port/data for an existing buffer. If no buffer found, allocate one that is of the default size (32,000). Note: not 32K. Compute buffer space available. If available space is less than half the default size, extend the buffer. Recompute buffer space available. Setup the IO-request data and length fields. Data is the buffer tail position. Length is the buffer space available from above. Clear the actual field. Call the TCP device with READ command. Check result for error. If error, throw it. | |
Group: Core ... Discuss core issues [web-public] | ||
Ashley: 11-Apr-2011 | OK, this is freaky: >> system/version == 2.7.8.2.5 >> a: list-env == [ "TERM_PROGRAM" "Apple_Terminal" "TERM" "xterm-color" "SHELL" "/bin/bash" "TMPDIR" "/var/folders/6O/6OnXy9XG... >> help a A is a block of value: [ "TERM_PROGRAM" "Apple_Terminal" "TERM" "xterm-color" "SHELL" "/bin/bash" "TMPDIR" "/var/folders/6O/6OnXy9XGEjiDp3wDqfCJo++++TI/-Tmp-/" "Apple_PubSub_Socket_Render" "/tmp/launch-BrITkG/Render" "TERM_PROGRAM_VERSION" "273.1" "USER" "Ash" "COMMAND_MODE" "legacy" "SSH_AUTH_SOCK" "/tmp/launch-HlnoPI/Listeners" "__CF_USER_TEXT_ENCODING" "0x1F5:0:0" "PATH" {/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin} "PWD" "/Users/Ash" "LANG" "en_AU.UTF-8" "SHLVL" "1" "HOME" "/Users/Ash" "LOGNAME" "Ash" "DISPLAY" "/tmp/launch-U0Gaqw/org.x:0" "_" "/Users/Ash/REBOL/rebol" ] >> length? a == 18 >> select a "USER" == "Ash" >> select a "HOME" == none | |
Group: Red ... Red language group [web-public] | ||
Kaj: 23-Mar-2011 | Among other things, you should now be able to set socket options, for example to create publish/subscribe topologies | |
Kaj: 23-Apr-2011 | send: func [ ; Send message. socket [pointer!] data [pointer!] size [integer!] flags [integer!] return: [logic!] ; /local message [pointer!] ][ either zero? as-message message data size none none [ either zero? send-message socket message flags [ zero? end-message message ][ end-message message no ] ][ no ] ] | |
Kaj: 19-May-2011 | *** Compilation Error: invalid definition for function send: [ socket [pointer!] data [pointer!] size [integer!] flags [integer!] return: [logic!] ] *** in: %/users/administrator/Red/Red-ZeroMQ-binding/examples/../ZeroMQ-binding.reds *** at: [func [ socket [pointer!] | |
Kaj: 23-Jun-2011 | unless all [ ( message: receive socket 0 as-logic message )( prin "Received request: " print as-c-string message-data message end-message message )( ;wait 1 send socket as [byte-ptr!] reply 1 + length? text 0 ) ][ print zmq-form-error system-error ] | |
Dockimbel: 23-Jun-2011 | Btw, your code snippet could be rewritten as: message: receive socket 0 unless all [ as-logic message end-message message ;wait 1 send socket as [byte-ptr!] reply 1 + length? text 0 ][ prin "Received request: " print as-c-string message-data message print zmq-form-error system-error ] | |
Group: World ... For discussion of World language [web-public] | ||
sqlab: 5-Dec-2011 | Why does world open a listening socket at port 8080? | |
sqlab: 5-Dec-2011 | Sorry. it opened a listening socket at port 0. | |
sqlab: 2-Jan-2012 | Where and how do you handle a closed socket during receive (total == 0) | |
Geomol: 3-Jan-2012 | In src/host/network.c line 86 and src/host/win32/network.c line 84. I break out of the while loop, if recv returns zero in case of closed socket. |
101 / 137 | 1 | [2] |