Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 3877 | Kartik K. Agaram | 2017-05-26 | 1 | -11/+11 |
| | |||||
* | 3602 | Kartik K. Agaram | 2016-10-27 | 1 | -15/+13 |
| | | | | | Simplify primitive interface to read from a socket: now returns just a single character. | ||||
* | 3600 - allow reading a single byte from a socket | Kartik K. Agaram | 2016-10-27 | 1 | -3/+3 |
| | | | | | | | Required fixing an off-by-one error. (Not bothering writing a test for this since I'm hoping to simplify $read-from-socket to always return a single character..) | ||||
* | 3595 | Kartik K. Agaram | 2016-10-25 | 1 | -1/+1 |
| | | | | | Fix for that annoying popup from the Mac OS firewall: inside tests keep any opened ports accessible only to localhost. | ||||
* | 3586 | Kartik K. Agaram | 2016-10-24 | 1 | -0/+10 |
| | | | | Make sure we clear the socket variable after closing it. | ||||
* | 3585 | Kartik K. Agaram | 2016-10-24 | 1 | -11/+0 |
| | |||||
* | 3584 | Kartik K. Agaram | 2016-10-24 | 1 | -2/+1 |
| | |||||
* | 3583 | Kartik K. Agaram | 2016-10-24 | 1 | -5/+5 |
| | |||||
* | 3582 | Kartik K. Agaram | 2016-10-24 | 1 | -3/+3 |
| | |||||
* | 3581 | Kartik K. Agaram | 2016-10-24 | 1 | -2/+21 |
| | | | | | | | Fix CI. 3 different memory leaks in the socket internals. The hard one was recognizing the need for `receive-from-client-socket-and-close`. | ||||
* | 3579 | Kartik K. Agaram | 2016-10-24 | 1 | -1/+1 |
| | |||||
* | 3571 - make 'read-from-socket' non-blocking | Kartik K. Agaram | 2016-10-23 | 1 | -11/+32 |
| | | | | Its interface now mirrors that of 'read-event'. | ||||
* | 3563 | Kartik K. Agaram | 2016-10-23 | 1 | -1/+1 |
| | |||||
* | 3562 | Kartik K. Agaram | 2016-10-22 | 1 | -6/+2 |
| | | | | Fix CI. Revert accidentally-added files. | ||||
* | 3561 | Kartik K. Agaram | 2016-10-22 | 1 | -2/+6 |
| | |||||
* | 3523 - http client now working | Kartik K. Agaram | 2016-10-20 | 1 | -7/+92 |
| | |||||
* | 3522 | Kartik K. Agaram | 2016-10-19 | 1 | -1/+1 |
| | |||||
* | 3519 - reading lots of data from a socket | Kartik K. Agaram | 2016-10-18 | 1 | -2/+11 |
| | | | | | | In the process I've also altered the API of $read-from-socket to return a boolean (eof?) rather than the number of bytes read (which is implicit in the length of the returned array). | ||||
* | 3508 | Kartik K. Agaram | 2016-10-16 | 1 | -2/+2 |
| | |||||
* | 3499 | Kartik K. Agaram | 2016-10-15 | 1 | -2/+1 |
| | |||||
* | 3486 | Kartik K. Agaram | 2016-10-08 | 1 | -3/+3 |
| | |||||
* | 3485 | Kartik K. Agaram | 2016-10-08 | 1 | -2/+2 |
| | |||||
* | 3484 | Kartik K. Agaram | 2016-10-08 | 1 | -5/+5 |
| | |||||
* | 3482 | Kartik K. Agaram | 2016-10-08 | 1 | -1/+1 |
| | |||||
* | 3477 | Kartik K. Agaram | 2016-10-08 | 1 | -0/+5 |
| | |||||
* | 3476 | Kartik K. Agaram | 2016-10-07 | 1 | -8/+8 |
| | |||||
* | 3473 | Kartik K. Agaram | 2016-10-07 | 1 | -2/+2 |
| | |||||
* | 3472 | Kartik K. Agaram | 2016-10-07 | 1 | -2/+2 |
| | |||||
* | 3471 | Kartik K. Agaram | 2016-10-07 | 1 | -10/+17 |
| | |||||
* | 3470 | Kartik K. Agaram | 2016-10-07 | 1 | -3/+4 |
| | |||||
* | 3469 | Kartik K. Agaram | 2016-10-07 | 1 | -5/+5 |
| | |||||
* | 3467 | Kartik K. Agaram | 2016-10-07 | 1 | -19/+18 |
| | |||||
* | 3466 | Kartik K. Agaram | 2016-10-07 | 1 | -13/+14 |
| | |||||
* | 3427 | Kartik K. Agaram | 2016-09-27 | 1 | -2/+5 |
| | |||||
* | 3412 | Kartik K. Agaram | 2016-09-24 | 1 | -6/+8 |
| | | | | Clean up a memory leak and a couple of other things. | ||||
* | 3403 | Stephen Malina | 2016-09-21 | 1 | -28/+19 |
| | | | | | Wrap $read-from-socket in a channel and fix the socket example so that browser's display the response properly. | ||||
* | 3399 - Update network primitives. | Stephen Malina | 2016-09-18 | 1 | -16/+56 |
| | | | | | | | $write-to-socket, $read-from-socket, and $accept now pass around references to socket pointers. $read-from-socket handles EOF explicitly. | ||||
* | 3349 | Kartik K. Agaram | 2016-09-14 | 1 | -2/+6 |
| | | | | Fix a warning on some compilers. | ||||
* | 3323 - Add simple network primitives | Stephen Malina | 2016-09-11 | 1 | -0/+166 |
Includes four Mu functions: - $socket: Creates the C structure for a socket and tries to bind and listen on a user-provided port. - $accept: Returns a number pointer to a new socket session. Should be called with the result of $socket. - $read-from-socket: Read one character from the socket, passed in as a Mu number. Should only be called after calling $socket and $accept. - $close-socket: Takes two parameters, one for the result of $socket and one for the result of $accept, closing both sockets and releasing bound ports. |