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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T00:37:02+00:00 2026-06-10T00:37:02+00:00

I want to send a message via a java.net.Socket . The message is: 001C020000C0154C000404850D9583CC00000004560B00E42080004C

  • 0

I want to send a message via a java.net.Socket.

The message is: 001C020000C0154C000404850D9583CC00000004560B00E42080004C

For my application I need this message to be sent via one TCP packet.

But checking Wireshark what is happening is, I can see, that it divides the message into
two reassembled SSL segments:

  1. 00
  2. 1C020000C0154C000404850D9583CC00000004560B00E42080004C

How can I supress this behavior?

My code is:

OutputStream os = m_sslsocket.getOutputStream();
os.flush();
write(hex2Byte("001C020000C0154C000404850D9583CC00000004560B00E42080004C");
os.flush();

where hex2Byte converts the hexadecimal String to a bytearray.

EDIT:
Thank you for your comments.

In any case my protocol stack when observing via WireShark looks as follows:
enter image description here

As you can see there are two SSL Segments, where one is with 00
and the other has the rest.
How to supress it such, that there is only one segment?

The above is the result of my writing to the outputstream.

(Do not worry about the red. That is just because of IP checksum offload to the network device.)

  • 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-10T00:37:03+00:00Added an answer on June 10, 2026 at 12:37 am

    For my application I need this message to be sent via one TCP packet.

    Bad luck, TCP cannot be made to do that reliably, with or without SSL. Adjust your expectations. It’s a byte-stream protocol.

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

Sidebar

Related Questions

Hi I want to send message from one application (which will be installed on
Let's say I want to send a message from one client to another. How
I want to send an SMS message from my facebook application so that the
Hai i want to send the message via coding is it possible? mobile number=xxx
I want to send messages between Ruby processes via TCP without using ending chars
I want to send particular message to other people via email and sms option.
I want to make a Linux application that send a message to a remote
I want to send a feedback message from one page to another without using
I want to send message/notification to friends with customized subject with a link in
I want to send a message whenever RabbitMQ creates or deletes a queue, exchange

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.