In the previous chapter, we covered writing simple socket servers in Rust. Transport protocols such as TCP and UDP only provide mechanisms to transport messages, so it is up to a higher-level protocol to actually craft and send those messages. Also, TCP and UDP protocols always deal with bytes; we saw this when we called as_bytes on our strings before sending those out on the socket. This process of converting a piece of data into a format that can be stored or transmitted (a stream of bytes in the case of networking) is called serialization. The reverse process is deserialization, which turns a raw data format into a data structure. Any networking software must deal with serializing and deserializing data that has been received, or is about to be sent out. This simple conversion is not always possible for more complex types such...
 United States
            United States
             Great Britain
            Great Britain
             India
            India
             Germany
            Germany
             France
            France
             Canada
            Canada
             Russia
            Russia
             Spain
            Spain
             Brazil
            Brazil
             Australia
            Australia
             Singapore
            Singapore
             Canary Islands
            Canary Islands
             Hungary
            Hungary
             Ukraine
            Ukraine
             Luxembourg
            Luxembourg
             Estonia
            Estonia
             Lithuania
            Lithuania
             South Korea
            South Korea
             Turkey
            Turkey
             Switzerland
            Switzerland
             Colombia
            Colombia
             Taiwan
            Taiwan
             Chile
            Chile
             Norway
            Norway
             Ecuador
            Ecuador
             Indonesia
            Indonesia
             New Zealand
            New Zealand
             Cyprus
            Cyprus
             Denmark
            Denmark
             Finland
            Finland
             Poland
            Poland
             Malta
            Malta
             Czechia
            Czechia
             Austria
            Austria
             Sweden
            Sweden
             Italy
            Italy
             Egypt
            Egypt
             Belgium
            Belgium
             Portugal
            Portugal
             Slovenia
            Slovenia
             Ireland
            Ireland
             Romania
            Romania
             Greece
            Greece
             Argentina
            Argentina
             Netherlands
            Netherlands
             Bulgaria
            Bulgaria
             Latvia
            Latvia
             South Africa
            South Africa
             Malaysia
            Malaysia
             Japan
            Japan
             Slovakia
            Slovakia
             Philippines
            Philippines
             Mexico
            Mexico
             Thailand
            Thailand
             
     
         
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                 
                