Pig scripts can now return data from TCP packets. Look at basic_data.pig.