Update socket communication python c#