generate a sequence of random numbers?

I am interested in both the concept and the actual socket code to connect to the service (if one is available) and receive either the sequence pregenerated or the atmospheric interference data so I could use it to generate random sequences.

I know a little about socket programming, but I am no expert.