Swiss File Knife
a command line
free external tools,
- download the free Swiss File Knife Base from Sourceforge. - open the Windows CMD command line, Mac OS X Terminal or Linux shell. - OS X : type mv sfk-mac-i686.exe sfk and chmod +x sfk then ./sfk - Linux: type mv sfk-linux.exe sfk and chmod +x sfk then ./sfk OS X and Linux syntax may differ, check the help within the tool.
sfk udpsend host port [options] data [data2] [...] send a UDP message, and optionally receive replies. options: -listen wait for a single reply, and dump it. -listen=n wait for so many replies and dump them. -listenall receive endless. -timeout=n wait up to n msec for replies. -wide, -lean etc. change hex dump output format. for details, type "sfk hexdump" -flat print messages as plain text. input data format: 0x123456 a hex string which is converted to binary foo any other plain text is sent as is, but zero termination is NOT done automatically. all given data fragments are joined into one large block. how long the block can be is system dependent, but it must always stay below 2000 bytes. examples sfk udpsend localhost 12345 -listen hello 0x00 send "hello" followed by a zero byte to localhost on port 12345, then receive a single reply. .
sfk is a free open-source tool, running instantly without installation efforts. no DLL's,
no registry changes - just get sfk.exe from the zip package and use it (binaries for
windows, linux and mac are included).
read more about all sfk functions here.