add basic events
change behavior of receiver process such that we now assume that labview is handing over the socket to our thread and never planning on touching it again. The new handle is the rctxp value.