Commit Graph
33 Commits
Author SHA1 Message Date
Michael Graff aca2a14afc Implement MSG_TRUNC faking for UDP, on systems where recvmsg() doesn't set that
flag for us.  To see if a UDP packet was truncated, look at
done_event->attributes and see if ISC_SOCKEVENTATTR_TRUNC is set.
1999-09-13 22:00:28 +00:00
Michael Graff c520793fb9 Add isc_socket_sendv(), sendtov(), and recvv() that work 1999-09-06 04:44:40 +00:00
Michael Graff c138fc2791 multi-buffer isc_socket_recvv() -- needs testing 1999-09-03 16:38:08 +00:00
Michael Graff 9f1c521285 change some flags (so we can use internal ones, too) 1999-09-02 20:52:44 +00:00
Michael Graff 4556681e19 snapshot socket.[ch] code and commit dynbuf_t -> buffer_t changes 1999-09-02 02:10:44 +00:00
Michael Graff 7b0fde02e4 define a few socket event (read/write) attributes 1999-08-28 04:26:16 +00:00
Michael Graff d524cd03ec make the isc_socket_recv() partial flag be a byte count instead, which allows
us to say "read at least 2 bytes" for things like a DNS packet over TCP.
1999-07-28 21:30:37 +00:00
Michael Graff 231c2cf614 use one internal event for connects and receives. Writes will be done shortly. 1999-07-28 01:07:21 +00:00
Bob Halley 86bbe826f0 add protocol family 1999-07-15 20:11:35 +00:00
Bob Halley 62252f8b2e make enum constant names agree with type name 1999-07-13 01:47:08 +00:00
Bob Halley c8e5c5f5b4 isc_sockaddr_t now has a length 1999-07-07 02:04:27 +00:00
Michael Graff b456d80637 add isc_socket_gettype() 1999-06-25 01:36:52 +00:00
Michael Graff 81231fc4c3 simplify part of socket.c -- one internal readable event for accepting
connections.  This GREATLY simplifies cancellation, but needs testing.
1999-06-10 00:45:30 +00:00
Michael Graff 3433c5ee69 start transition to one internal event by keeping all state in the done events 1999-06-09 02:21:19 +00:00
Bob Halley 853befffcf include eventclass.h 1999-05-10 22:52:55 +00:00
Michael Graff 1b1bc2a9d5 mention that UDPs are always "partial read" 1999-03-29 20:02:41 +00:00
Bob Halley 7aacbd685b C++ compatibility 1999-03-04 02:38:48 +00:00
Bob Halley 8dcce6f922 change memctx to mem 1998-12-18 19:14:37 +00:00
Bob Halley 3740b569ae the great type change 1998-12-13 23:45:21 +00:00
Bob Halley 1633838b82 update copyrights 1998-12-12 20:48:14 +00:00
Bob Halley 6792dd6d22 conforming changes for new pool 1998-12-11 20:38:46 +00:00
Michael Graff 0c7244d352 added marks, and cleaned up from the review from Bob. Still more to do, but
this catches most of it.
1998-12-10 16:14:05 +00:00
Michael Graff 7251d77646 snapshot 1998-12-05 00:28:13 +00:00
Michael Graff c2be3539e9 snapshot 1998-12-04 11:21:11 +00:00
Michael Graff a0084eaa9f checkpoint 1998-12-01 23:59:39 +00:00
Michael Graff 9de9ae0839 cleanup header file to list actual return codes, new entry conditions, etc 1998-12-01 17:58:34 +00:00
Michael Graff a21e2e7fea connect works; snapshot 1998-11-26 00:10:33 +00:00
Michael Graff 4095b36415 try to get the address put into the returned structure, but no go yet 1998-11-15 11:48:21 +00:00
Michael Graff 3d8e572880 writing works now, too. 1998-11-11 00:43:14 +00:00
Michael Graff 8871894f2d checkpoint. listen and read works, now. 1998-11-10 11:37:54 +00:00
Michael Graff bb039bc91e snapshot 1998-11-10 01:56:44 +00:00
Michael Graff 7f9e707684 checkpoint 1998-11-06 01:45:35 +00:00
Michael Graff 6d05b41aae Commit socket code so far -- nowhere near done, but I don't wanna loose work. 1998-11-03 00:54:47 +00:00