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 {
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

ldap connection
We are using ldap to get user information from the domain controller. It was working before. Recentl

$_GET problem
Hi all,

Have a bit of a problem with a little piece of code, I am not sure if this should be

Is there a way to override built in php functions without APD?
I am trying to use the
rename_function()
override_function()
options that are built into

PHP Upload issue
Hi guys,

I have stumble across an interesting issue with my script and is doing my head in.

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

timed header image rotation
I have a joomla site and I was trying to setup a rotating image based on timing NOT just refreshing

Help with some dates
I have a list of dates in an array:

$mondays = array(
strtotime("October 12, 2009

Pipe email to PHP - get mail adress from MySQL - send?
Hi all,

this is the challenge:

1) Our faculty at the college where I'm employed includ

mysql_affected_rows() usage
Possibly a MySQL issue, but the function that is not behaving in the anticipated way is a PHP functi

Help: problem with Headers to download PDF file
Hi,

I'm trying to implement a script where when a user clicks a link he gets a PDF file to op

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