?
Solved

Generating a customised packet

Posted on 2004-09-04
5
Medium Priority
?
214 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Simple Linear Regression
Introduction to Processes

743 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