Desktop software

SockWorker

A GUI tool for debugging TCP and UDP sockets.

Windows and Linux, x64 · Rust and egui · Not released yet

What it is

SockWorker is for testing and debugging network programs and devices. It opens TCP clients, TCP servers and UDP sessions, each in its own tab. You send text or hex data, once or repeatedly, and watch what is sent and received in a log that can be saved to a file. It is one of the Worker series of desktop tools.

Features

  • TCP client. Connect by host name or IP address, with a connection timeout from 100 to 60,000 ms (5,000 ms by default). The local address and port of the outgoing connection can be set.
  • TCP server. Accepts several clients at once: 100 by default, and the maximum can be set from 1 to 1,000. Send to one connection or to all of them, and close the connections you pick.
  • UDP. A bind address and port, a destination address, and an option to allow broadcast.
  • IPv4 and IPv6. Both address families, with socket options for TCP_NODELAY and TTL.
  • Sending. Text or hex, with a line ending of none, CR, LF or CRLF. Repeated sending at an interval from 10 ms to 1 hour, for a count of up to 1,000,000 or until stopped. A history of what was sent.
  • Log. View as text, as hex, or both; the hex dump shows 16 bytes per line with an ASCII column. Filter by direction and by connection, pause, clear, and save to a file. Each session has a log limit of 16 MiB by default, which can be set from 1 to 1,024 MiB.
  • Statistics. Counters for each session, and a status bar.
  • Interface. Korean and English, following the language of the operating system. System, dark and light themes.
  • Network use. SockWorker uses the network only for the sockets you open. It does not check for updates and sends no telemetry.

Limits

  • No TLS, raw sockets or packet capture.
  • Version 0.1.0 has no automatic response rules, UDP multicast, file sending, or saving and loading of sessions.
  • Text is sent as UTF-8. Other text encodings are not supported.
  • When the peer closes only its sending side (half-close), SockWorker closes the whole connection.
  • Name resolution has no timeout. The connection timeout applies to each resolved address in turn.
  • TTL applies to IPv4 only. An IPv6 link-local address cannot be used as the local address.
  • One send is at most 1 MiB, and a UDP datagram at most 65,507 bytes.
  • Each connection uses two threads. On Windows, when the CPU is fully loaded, handling new connections can lag by a few seconds right after many of them arrive.
  • After a connection from a fixed local port is closed, the operating system can refuse the same port for a while: about two minutes on Windows.
  • On Linux, a UDP session without a fixed destination gets no notice when the port it sends to is closed.
  • On Windows, binding a server or a UDP session to all interfaces brings up the Windows Firewall prompt.

Availability

SockWorker is not released yet. Version 0.1.0 has been run on Windows 11 and on Ubuntu 26.04. It will ship as a Windows installer and zip, and as a .deb and an AppImage for Linux. If you want to hear when it is available, send an email.