Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8459047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T13:14:28+00:00 2026-06-10T13:14:28+00:00

I am trying to make a small multiplayer game in Java. I got the

  • 0

I am trying to make a small multiplayer game in Java. I got the tpc connection working, but for now i can only transmit strings. I would like to transmit more sophisticated data in packets, which would contain all the necessary data for synchronizing the game. Is it possible to transmit some kind of custom structures, or data from class instances in one tcp package? Or what would be a good way to do it(i googled but i couldn’t find something that would fit my needs)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T13:14:30+00:00Added an answer on June 10, 2026 at 1:14 pm

    In general, the keyword to look for here is serialization. That is the process of converting a data structure to a chunk of bytes that can be sent across a socket or other transmission medium.

    One way to do this is to use the Google Protocol Buffers library, which has bindings for use with Java.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to make a small countdown timer in my app but it's not working.
I'm trying to make an small tower defender game in Java. I have a
I'm trying to make a small android Jump and Run game but my problem
I am having an issue trying to make a small text-fantasy type game involving
I am trying to make some small additions to some old java code that
I am trying to make a small system tray program with only a context
I'm trying to make a small Flash game that has a GUI, which is
I'm trying to make a small testing server for Bugzilla so I can test
I am trying to make a small pizza order form, but I have a
I'm trying to make a small game that supports Python scripting. I've no problems

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.