client server using socket programing with best optimized way to do .. and how to do guide is also availabe