[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Generating a customised packet

Posted on 2004-09-04
5
Medium Priority
?
216 Views
Last Modified: 2011-04-14
hi...

i'm enquiring whether is it possible and how to generate a customised packet, for example, specifying the header length , payload size ...etc in C or JAVA.
i'm doing this to try to emulate a DICOM packet and to send it out.
have u guys tried anything like this b4? any appropriate links and guides would be appreciated. pls help...

thanks.
0
Comment
Question by:sharol82
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 3

Accepted Solution

by:
str_ek earned 252 total points
ID: 11981219
you need to open a raw socket

take look at this
http://tangentsoft.net/wskfaq/advanced.html
and embeded example of raw ping :)
it's not the most clean and readable rawping implementation, but it cares bout most raw sockets usage concerning problems
0
 

Assisted Solution

by:papmech
papmech earned 248 total points
ID: 11983815
i think these are custom libraries but you could use them: http://jpcap.sourceforge.net/javadoc/net/sourceforge/jpcap/net/TCPPacket.html
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is about my first experience with programming Arduino.
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
Six Sigma Control Plans
Starting up a Project

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question