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

How do i do multi uploads?.
Hey i would like to do this : http://hosting.mrkrabz.net/

I've got the base down you can uplo

Help with captcha script needed
Hello,

I am working on a script where reCAPTCHA or a similar form of CAPTCHA will be used, f

Securing a user input - need some confirmation
Hello All,

I am in the process of recoding a large proportion of an e-commerce site, one of t

I got my hosting suspended XD
So I saw this challenge a day or so ago

http://www.programming-challenges.com/pg.php?page=dow

preg_replace question
Hello!!

I hope someone can help me with preg_replace.

I load two tables from an extern

URL Rewrite issue
Im created a series of Rewrites and on page checks to make sure the correct url is being called. But

error with opendir
when i do this

if ($handle = opendir($dir)) {
while (false !== ($file = readdir($han

Form a inline view based on the results of the previous query?
Hi Experts,
Can we form a inline view on the results of a previous query (another inline view)?

Email Processor
I have a few questions so this post will be a larger one! Sorry, but I'm a bit of a PHP newbie so be

Problem with umlauts and UTF-8
Hello every1,

I'm creating my own little CMS at the moment and got some problems with the cha

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