• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

Socket: prefixed string is sent only one or two times  RSS feed

 
Greenhorn
Posts: 6
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using MediaProjection to capture device screen continuously and after this capture is sent over Socket to server (that is a C# desktop application).

The trouble is that apparently the prefixed string is sent only one or two times, and after is sent only the image data (i think) and because this, on server side i have trouble to identify if is receiving the bitmap and the consequence is not receive updated bitmap.

Prefixed string sent by first time:



Prefixed string sent by the second time:




After this, apparently only image data is sent (and from here, the prefixed string not is received anymore):




Android (Java):



Server (C# desktop application):


 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!