Packet Design


Posted on 16th Feb 2014 07:03 pm by admin

Hi All,
Im new about network programming and I want to design a protocol but I have some questions about packet desing. For example I wanna do a sturct to send informations like that ;

struct info {
Did you know?Explore Trending and Topic pages for more stories like this.
char type[2];
char ipno[14];
char checking[14];
}tt;

The question is, I should use "char" type for such informations or I should convert them to hex numbers to build packets?

thanks
No comments posted yet

Your Answer:

Login to answer
320 Like 12 Dislike
Previous forums Next forums
Other forums

Preg_match with an array
is there an away to use preg_match with an array?

i want to check a string with an array to s

retrieving more than one max key from an array?
so i have an array of 20 numerical values (0-100) that i need to order from highest to lowest and th

Upload Code Help
Hi everyone I need some help with a bit of code ive been working with for a while. I am completely s

Need help to modify php ELSE code
I'm trying to find a way to have the php code display a message if there is no inventory listed in t

Using cURL to PUT
Can somebody help with the correct php code to make a cURL PUT request. Here is a sample of code bel

Losing 'page' data
I have this code that allows me to update my database. But after updating, I lose the $_GET['page']

Motivational Posters
Hello,

I wonder how can i do them in php. Are there any sample codes that you can show me?

Variable Clash
In the past I've had variables clash. For example:

Code: <?php
$c = 5;
$ca

Form errors in an array
I'm processing a form and putting the errors in an array. empty($errors) doesn't seem to do the tric

Standard DES encryption script?
Can anybody point me to a tutorial or a short script that shows how to encrypt some text with salt i

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash