about summary refs log tree commit diff stats
path: root/091socket.cc
Commit message (Collapse)AuthorAgeFilesLines
* 3523 - http client now workingKartik K. Agaram2016-10-201-7/+92
|
* 3522Kartik K. Agaram2016-10-191-1/+1
|
* 3519 - reading lots of data from a socketKartik K. Agaram2016-10-181-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).
* 3508Kartik K. Agaram2016-10-161-2/+2
|
* 3499Kartik K. Agaram2016-10-151-2/+1
|
* 3486Kartik K. Agaram2016-10-081-3/+3
|
* 3485Kartik K. Agaram2016-10-081-2/+2
|
* 3484Kartik K. Agaram2016-10-081-5/+5
|
* 3482Kartik K. Agaram2016-10-081-1/+1
|
* 3477Kartik K. Agaram2016-10-081-0/+5
|
* 3476Kartik K. Agaram2016-10-071-8/+8
|
* 3473Kartik K. Agaram2016-10-071-2/+2
|
* 3472Kartik K. Agaram2016-10-071-2/+2
|
* 3471Kartik K. Agaram2016-10-071-10/+17
|
* 3470Kartik K. Agaram2016-10-071-3/+4
|
* 3469Kartik K. Agaram2016-10-071-5/+5
|
* 3467Kartik K. Agaram2016-10-071-19/+18
|
* 3466Kartik K. Agaram2016-10-071-13/+14
|
* 3427Kartik K. Agaram2016-09-271-2/+5
|
* 3412Kartik K. Agaram2016-09-241-6/+8
| | | | Clean up a memory leak and a couple of other things.
* 3403Stephen Malina2016-09-211-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 Malina2016-09-181-16/+56
| | | | | | | $write-to-socket, $read-from-socket, and $accept now pass around references to socket pointers. $read-from-socket handles EOF explicitly.
* 3349Kartik K. Agaram2016-09-141-2/+6
| | | | Fix a warning on some compilers.
* 3323 - Add simple network primitivesStephen Malina2016-09-111-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.