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 6594739
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T17:50:57+00:00 2026-05-25T17:50:57+00:00

I’ve been asked to make a JAVA application for sending frames using sockets, my

  • 0

I’ve been asked to make a JAVA application for sending frames using sockets, my question is simple, is there anything special with this “frames”? i mean, i know how to transport bytes through net, I have knowledge about sockets, but I really don’t know what are this frames , should i assume that by saying “frames” they are just referring to a specific structure of bytes to send?

they specify that the “frames” must have this structure:

  • Header: E
  • CRC: 8AFE
  • Date: 110825080000
  • Final Coin In: 2176
  • Final Coin Out: 12345
  • Reserved: 0

so passing this to hex is

  • 45
  • 8A FE
  • 31 31 30 38 32 35 30 38 30 30 30 30
  • 30 30 30 30 30 30 32 31 37 36
  • 30 30 30 30 30 31 32 33 34 35
  • 30 30 30 30 30 30 30 30 30 30

so if im correct, the frame (that i will convert to bytes later) to send is:

45 8A FE 31 31 30 38 32 35 30 38 30 30 30 30 30 30 30 30 30 30 32 31 37 36 30 30 30 30 3031 32 33 34 35 30 30 30 30 30 30 30 30 30 30

My question is am I correct about this, or am I missing something? maybe i’m completely wrong? :s
Thanks in advance

PD: sorry if this is a dumb question :/

  • 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-05-25T17:50:57+00:00Added an answer on May 25, 2026 at 5:50 pm

    The Java sockets API works at Layer 7. You can send UDP packets or TCP/IP streams, but you cannot send or receive Ethernet frames with the standard Java.net package.

    In other words, you can send and receive PAYLOADS, but you cannot read or write HEADERS (e.g. TCP-packet or Ethernet-frame headers).

    At least not without writing your own JNI code, or using a 3rd party library for “raw sockets”. For example: https://www.savarese.com/software/rocksaw/

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

Sidebar

Related Questions

Seemingly simple, but I cannot find anything relevant on the web. What is the
I have thousands of HTML files to process using Groovy/Java and I need to
I'm making a simple page using Google Maps API 3. My first. One marker
I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have just tried to save a simple *.rtf file with some websites and
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this

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.