Archive for the 'Networking' Category

Creating a Binary File Using a Ruby DSL

March 25th, 2008 | Category: Networking, Programming, Ruby, XML

So I used ruby to convert a simple hex string into a binary file in Converting hex to Binary in 4 Languages. Today I was trying to create a mixed ascii/binary file at work and created a little Domain Specific Language that has good possibilities.

NOTE: There is an expanded version of this script here: A Better Binary File Generator DSL in Ruby
Read more

No comments

Netcat Clone in Three Languages - Part III (Perl)

February 25th, 2008 | Category: Networking, Perl, Programming

So for the final segment in the netcat clone series (see this and this) I’m going to write it in Perl…
Read more

1 comment

Netcat Clone in Three Languages - Part I (Ruby)

February 20th, 2008 | Category: Networking, Programming, Ruby

I thought I’d continue my series of writing the same application in multiple languages by trying to clone the wonderful network tool: netcat. For the first installation I’m going to try it in Ruby.

Read more

No comments

PPP VPN Will not use Local DNS Server Under Windows

February 15th, 2007 | Category: Networking

OK. So there are solutions to this online, but it took me a long time to find them so I’m going to add one more here. The problem is that you are using a PPP adapter to connect to your LAN, but when you try to resolve internal names that have both and internal and external address, you keep getting the external address. Read more

No comments