Tuesday, June 9, 2009

PORTent




Open Port();
//the one present on YOUR computer
Connect Port(); //Like you have a choice!
Send Data(); //You think it’s a long stream of data. Waiting for the receiver to respond with a huge message.
Receive Data(); //Haha! ACK, she says “ok I think I got it”! 1 Byte! That’s it!
Send Data(); //Here take this memory dump!
Receive Data(); //Another ACK.
Send Data(); //I am done.
Receive Data(); //Seriously That’s it!?
Send Data(); //Out of memory.
Disconnect Port(); //No more communication.
Close Port(); //That’s it You’re done!

Happens every night! Takes around 3 minute to finish.
Oh and Ya, by the way this is just a scheduled process on one of the servers here. I wonder what you were thinking.