Unix Programming - Re: sending a packet using raw socket

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > April 2006 > Re: sending a packet using raw socket





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: sending a packet using raw socket
mangesh sawant

2006-04-02, 7:41 pm

before doing strcat() u have to convert structure members into string
format using functions like sprintf(..) .
then only use strcat().

also if u do multiple strcat() then after
every strcat(data , "data u want to send")
u have to do strcat(data , "-");

"-" is used to separate data members of structure when u recieve it on
server side .

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com