Summary of changes for client.c:

  client.c
    1.12 02/12/09 14:44:57 mike@velgarian.sytes.net +48 -29
    Make MAX_FAILED_UPDATES an option now.
    Make PERSISTENT a little less ugly.
    Added init_report_socket to make it easier to handle non-persistent connections without having a
    socket hanging open all the time.
    Make sure to close the socket when it's not persistent.

  client.c
    1.11 02/11/28 17:32:51 mike@velgarian.sytes.net +45 -29
    Make MAX_FAILED_UPDATES an option now.

  client.c
    1.10 02/10/20 10:21:54 mike@velgarian.sytes.net +45 -11
    Fix for solaris.  Solaris's sendto() wouldn't ignore the sockaddr information when trying to send
    on an already connected socket.  Thanks alex for tracking this down.
    Evolved from the fix, give people the option to use a persistent connection or just let sendto()
    handle it all.
    Add some more comments to explain things to newbies who think they should poke around in here.

  client.c
    1.9 02/10/12 12:14:01 mike@velgarian.sytes.net +22 -2
    Better document it, in case someone needs to tweak something here, although I hope they don't.
    define MIN/MAX so I don't have to bother with including utils.h
    Only set report.ok to UNINIT on the first time through.
    Send a packet of the minimum size possible up to 1k rather than always 1k.

  client.c
    1.8 02/10/06 13:48:08 mike@velgarian.sytes.net +47 -23
    change OK to REPORT_OK to avoid confusion.
    Add a MAX_FAILED_UPDATES so it quits trying altogether after failing too many times.
    Better handling of errors from gethostbyname().
    Only call reset_report() when there's been a retryable error AND it's been an hour since we tried last.

  client.c
    1.7 02/10/03 19:40:53 mike@velgarian.sytes.net +66 -22
    Use #if !defined() and #error to make sure MUDNAME is defined now.
    Move the report.addr stuff ABOVE the connect.  How the hell was it working before?
    I guess it was going thru to the second loop, but I'd swear connect() should have
    failed.
    Remove a free() in reset_report that would crash the mud.
    Retry on TRY_AGAIN errors from gethostbyname.
    Make the buffer size into a define for sendto buffer.  Use strlen() to cut down the
    size of the packet sent.
    Stupid typo, I had it resetting the report every 60 seconds, not once an hour.

  client.c
    1.6 02/09/28 19:44:53 mike@velgarian.sytes.net +5 -0
    Add MSG_DONTWAIT define for cygwin.

  client.c
    1.5 02/09/28 14:51:40 mike@velgarian.sytes.net +26 -20
    Take out old rcs log information.
    Clean up memory leak in reset_report().
    Add MUDDNS and automatic updating of report dns information (instead of doing it from
    heartbeat(). )

  client.c
    1.4 02/09/28 01:00:32 mike +18 -1
    Add a little bit of documentation to the remarks at the start of the file.
    remove include of utils.h since we only needed one function.
    We define the prototype ourselves now.

  client.c
    1.3 02/09/23 10:49:07 mike +5 -1
    No need to include db.h, so take it out for speed of compiling.
    add descriptor_list as an extern.

  client.c
    1.2 02/09/22 17:25:43 mike +19 -0
    Added a small function to reset the udp connection, called once
    an hour to make sure the hostname and stuff are correct.

  client.c
    1.1 02/09/20 21:15:57 mike +82 -0
    Initial revision

  client.c
    1.0 70/01/01 03:09:62 BK +0 -0
    RCS to BitKeeper

