SwsSock

Version 1.0.0.4 now available

TCP/IP Communications Library

SwsSock is a cross platform,  BSD and Winsock2 compatible, sockets library providing a TCP/IP protocol stack and drivers for common Ethernet and serial adapters.

The SDK consists of pre-built libraries, C header files and example applications for the following target/compiler combinations:

Win32 target, Microsoft Visual C++ 6.0.
32-bit DOS target, DJGPP (version 2.03 or later).
16-bit DOS target, Microsoft Visual C++ 1.52c.


Release notes

Client API

Download the SDK


FEATURES:  TCP, IP version 4, UDP, Raw sockets, ICMP, Echo server, IGMP version 2, Multicasting, Ethernet DIX and 802.3, ARP, PPP, CHAP, PAP, SLIP, Multi-homed routing, DNS client, DHCP client, IP, PPP and Ethernet packet dumpers, Threads, Timers

  • Fully asynchronous design

  • Simple configuration from single text file

  • Easy to customise for embedded systems.


Winsock2 DLL compatibility.  The SwsSock DLL provides a substantial subset of ws2_32.dll functionality and can be used as a replacement in many cases.


Example programs are provided as C source, compilable for SwsSock or native Windows:

Httpd  An HTTP 1.1 web server.
Echos  A UDP and TCP Echo server and client.
Inetd  A multi-threaded Echo and Http server.
Ping  An ICMP echo client.
Pktdump  An Ethernet and IP packet dumper.


Download the pre-built examples


NB the example programs require the SwsVpkt Virtual Packet Driver available here
.

Home  |  About Us  |  Downloads