mirror of
https://github.com/AppleWin/AppleWin.git
synced 2026-04-20 15:17:50 +00:00
Uthernet II: 2 fixes and minor changes (PR #1100)
* Enable virtual DNS by default. * Improve handling of header size: This fixes an issue in UDP, where it would not take the header size into account when deciding how much to read. * IPRAW socket. Fix an issue where the header would include "our" IP Address. The doc is not very clear 5.2.3: they say "destination". But for consistency with UDP (5.2.2) where it seems clear that this is the peer's ip, we replace with the "destination" of the socket, or the "source" of the packet. * minor tweak: signal with SOCK_SYNSENT that a connection is being established. * remove Socket::myErrno as it serves no purpose. It is a duplicate of (sn_sr == W5100_SN_SR_SOCK_SYNSENT). * add some logging when reading/writing on a closed socket.
This commit is contained in:
@@ -41,7 +41,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
#include "Pravets.h"
|
||||
#include "Speaker.h"
|
||||
#include "Speech.h"
|
||||
#include "HardDisk.h"
|
||||
#include "Harddisk.h"
|
||||
|
||||
#include "Configuration/Config.h"
|
||||
#include "Configuration/IPropertySheet.h"
|
||||
|
||||
Reference in New Issue
Block a user