Advertisement Jump to content


This topic is now archived and is closed to further replies.


transfer pixels between client and server

This topic is 5413 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I am developing a directx8 application with vb. Our project is server will capture the desktop screen and sent to client. client receive those updates (pixels) and display in 8*8 blocks directx appplication window. How can I transfer and receive image pixels between client and server through winsock control? please reply soon. thanks in advance. hema

Share this post

Link to post
Share on other sites
You''re not going to be able to send the pixels themselves, but rather, you''re going to have to send the individual color of each one, and then re-render.

Is this what you want to do?
1) Server-side: Render
2) Transfer all pixel colors to client
3) Re-render on client screen

Can I ask, why are you doing it this way? Why can''t you just render on the client originally? Commercial games actually only render on the client - the server just sends them messages telling them what to render.

I don''t really know much about winsock, but you could always looking into DirectPlay if you''re having trouble. DirectPlay isn''t just for game stuff - it''s for any networking app.

Dustin Franklin
Mircrosoft DirectX MVP

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!