The Socket Library provides Berkeley-style socket functions so applications can communicate using TCP, UDP, and Multicast sockets.
The Socket TCP sample application contacts a listener program (a java program...included) with two processes, both of which are writing data. Eventually, the host program will report a problem (data incoming does not match expected). This demonstrates the difference between the sock and sock_synch libraries.
DownloadThe Socket MII sample shows how to write and read the MII by toggling the state of an ethernet LED.
DownloadThe Socket PING sample shows how to use the socket library ping() function.
DownloadThe Socket UDP sample shows how to use the UDP functions for transmitting datagrams.
Download