Giter Club home page Giter Club logo

io6library's People

Contributors

bjnhur avatar irinakim12 avatar javakys avatar midnightcow avatar teddywiz avatar wizbecky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

io6library's Issues

memset/memcpy

Is there reason for not using memset and memcpy instead of zeroing/copying of 16 elements of array? Like this:

DHCP_allocated_ip[0] = 0;
DHCP_allocated_ip[1] = 0;
DHCP_allocated_ip[2] = 0;
DHCP_allocated_ip[3] = 0;
DHCP_allocated_ip[4] = 0;
DHCP_allocated_ip[5] = 0;
DHCP_allocated_ip[6] = 0;
DHCP_allocated_ip[7] = 0;
DHCP_allocated_ip[8] = 0;
DHCP_allocated_ip[9] = 0;
DHCP_allocated_ip[10] = 0;
DHCP_allocated_ip[11] = 0;
DHCP_allocated_ip[12] = 0;
DHCP_allocated_ip[13] = 0;
DHCP_allocated_ip[14] = 0;
DHCP_allocated_ip[15] = 0;

Incorrect Socket Flag for Non-Blocking Sockets

SOCK_IO_NONBLOCK is not a socket flag option for socket(), as used here in loopback.c:

tmp = socket(sn, Sn_MR_TCP4, port, SOCK_IO_NONBLOCK);

It should be SF_IO_NONBLOCK.

However, the change introduced here means that only SOCK_IO_NONBLOCK will set the socket mode to non-blocking: c9c9ef8#diff-5779d7831ac938e3f7d8cb0c0890060576acc6536afff3c010e7838367c7d9b3R172

21/05/24: A side effect of using SOCK_IO_NONBLOCK (=1) is that 'Force ARP' mode in Sn_MR2 gets enabled: https://github.com/Wiznet/io6Library/blob/master/Ethernet/socket.c#L163

MACRAW mode send issue

When sending data using sendto function in macraw mode, the data is not sent. The send command is not set.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.