Socket is not working as it should help!

后端 未结 5 2011
南笙
南笙 2020-12-12 05:26

i made a client and server socket based gui app in which screen is captured and via socket it is transfered to desired listner but i am getting a black out put image a recei

5条回答
  •  我在风中等你
    2020-12-12 05:49

    Not sure what your actual problem is but I notice there is a potential bug in byteArrayToImage(); you must keep the stream open for the lifetime of the image (yeah, it's not the most usable .NET API method!): http://msdn.microsoft.com/en-us/library/93z9ee4x.aspx

提交回复
热议问题