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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T07:32:54+00:00 2026-06-10T07:32:54+00:00

The type of sent and received data over network is String, or Bytestring. We

  • 0

The type of sent and received data over network is String, or Bytestring. We can’t send any other types, like Int, or [Bool] for example, because everything passed through a Handle.
I know we can parse it, even using read, but I think it’s not beautiful, nor reliable, and effective as well.

Why was this choice made? Is it because it’s technically “impossible” otherwise, or because Network is just a binding to a C library, because of delays, or because of something else?

  • 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-10T07:32:56+00:00Added an answer on June 10, 2026 at 7:32 am

    The data going over the network is just a stream of bytes. You can assign meaning to that stream of bytes at either endpoint, but on the network it has no meaning. As far as I know, this is true of every language, some just choose to abstract that away in their standard library.

    You can encode/decode the data you’re sending with packages like binary or cereal (using the encode and decode functions). Both come with instances of their serialization classes (Binary and Serialize, respectively) for many of the standard types like Int, Double, Bool, and [].

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

Sidebar

Related Questions

I need to build an application which can receive data from over a network
Can anyone help me? I intensively exchange data between two devices over TCP protocol
I want ro receive some data that is sent as a UDP packet over
I got a struct for client and server like this: { char type; int
I have this code that works well: {livre:empty_name} $.ajax({ url: sent.php, type: post, dataType:
type TSomeRecord = Record field1: integer; field2: string; field3: boolean; End; var SomeRecord: TSomeRecord;
type(3,) returns the int type, while t = 3, type(t) returns the tuple type.
I use the jQuery ajax function to send data to 2 php scripts. The
I am trying to send audio file from one computer to other using socket
When I create a notification that is sent through C2DM and received in my

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.